projects
/
platform
/
adaptation
/
samsung_exynos
/
libtbm-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b796a2
)
fix memory leak
68/65568/1
author
Changyeon Lee
<cyeon.lee@samsung.com>
Wed, 30 Mar 2016 06:50:04 +0000
(15:50 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 11 Apr 2016 02:22:30 +0000
(11:22 +0900)
Change-Id: Ia9f95ec3e26e4ce8bef6319f0e09ed511cdcb322
src/tbm_bufmgr_exynos.c
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr_exynos.c
b/src/tbm_bufmgr_exynos.c
index
69d8f3f
..
894b3e5
100644
(file)
--- a/
src/tbm_bufmgr_exynos.c
+++ b/
src/tbm_bufmgr_exynos.c
@@
-1117,7
+1117,6
@@
tbm_exynos_bo_import(tbm_bo bo, unsigned int key)
ret = drmHashLookup(bufmgr_exynos->hashBos, key, (void **)&privGem);
if (ret == 0) {
- privGem->ref_count++;
return privGem->bo_priv;
}
@@
-1238,7
+1237,6
@@
tbm_exynos_bo_import_fd(tbm_bo bo, tbm_fd key)
ret = drmHashLookup(bufmgr_exynos->hashBos, name, (void **)&privGem);
if (ret == 0) {
if (gem == privGem->bo_priv->gem) {
- privGem->ref_count++;
return privGem->bo_priv;
}
}