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:
399aa30
)
execute mutex unlock before false return
73/114373/1
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Mon, 13 Feb 2017 06:57:58 +0000
(15:57 +0900)
committer
Junkyeong Kim
<jk0430.kim@samsung.com>
Mon, 13 Feb 2017 06:57:58 +0000
(15:57 +0900)
Change-Id: I5016870d1d7e68799c100dff259eb2ae4f408961
src/tbm_bufmgr.c
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr.c
b/src/tbm_bufmgr.c
index
8dd0c30
..
9b79789
100644
(file)
--- a/
src/tbm_bufmgr.c
+++ b/
src/tbm_bufmgr.c
@@
-1589,7
+1589,11
@@
tbm_bufmgr_debug_queue_dump(char *path, int count, int onoff)
} else {
int w, h;
- TBM_RETURN_VAL_IF_FAIL(path != NULL, 0);
+ if (path == NULL) {
+ TBM_LOG_E("path is null");
+ pthread_mutex_unlock(&gLock);
+ return 0;
+ }
TBM_LOG_D("path=%s count=%d onoff=%d\n", path, count, onoff);
if (_tbm_util_get_max_surface_size(&w, &h) == 0) {