projects
/
platform
/
core
/
uifw
/
libtbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8176718
)
Fixed bug for checking bos of surface when unref
04/55404/1
accepted/tizen/mobile/20151224.001720
accepted/tizen/tv/20151224.001736
accepted/tizen/wearable/20151224.001807
submit/tizen/20151223.112225
submit/tizen_common/20151229.142028
submit/tizen_common/20151229.144031
submit/tizen_common/20151229.154718
submit/tizen_common/20160104.140200
author
Changyeon Lee
<cyeon.lee@samsung.com>
Wed, 23 Dec 2015 11:09:01 +0000
(20:09 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Wed, 23 Dec 2015 11:09:29 +0000
(20:09 +0900)
Change-Id: I28fddf9f275fdf462b9a34e39f2d4983fca47228
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
src/tbm_surface_internal.c
patch
|
blob
|
history
diff --git
a/src/tbm_surface_internal.c
b/src/tbm_surface_internal.c
index
e18ba3c
..
14b2598
100755
(executable)
--- a/
src/tbm_surface_internal.c
+++ b/
src/tbm_surface_internal.c
@@
-549,7
+549,7
@@
tbm_surface_h tbm_surface_internal_create_with_flags(int width, int height, int
surf->bos[i] = tbm_bo_alloc(mgr, bo_size, flags);
if (!surf->bos[i]) {
for (j = 0; j < i; j++) {
- if (
!
surf->bos[j])
+ if (surf->bos[j])
tbm_bo_unref(surf->bos[j]);
}