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:
da97a15
)
Fix error handling in surface create
64/67064/1
accepted/tizen/common/20160427.053635
accepted/tizen/ivi/20160426.233906
accepted/tizen/mobile/20160426.233835
accepted/tizen/tv/20160426.233851
accepted/tizen/wearable/20160426.233847
submit/tizen/20160426.014338
author
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 25 Apr 2016 04:11:36 +0000
(13:11 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 25 Apr 2016 04:12:05 +0000
(13:12 +0900)
Change-Id: I94fa2fbc7f64331436e6e0069d99da7e3616d46e
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 796add8ff7b35b397c50ab9a5d984f034ade7ab5..6aa6c31f2689a2621cc7a01d23497fb065ad847f 100644
(file)
--- a/
src/tbm_surface_internal.c
+++ b/
src/tbm_surface_internal.c
@@
-585,6
+585,7
@@
tbm_surface_internal_create_with_flags(int width, int height,
getpid(), __func__, __LINE__);
free(bo);
pthread_mutex_unlock(&surf->bufmgr->lock);
+ goto alloc_fail;
}
bo->ref_cnt = 1;