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:
fb9c14f
)
tbm_bufmgr: set TBM_ERROR_INVALID_PARAMETER
97/260997/1
author
SooChan Lim
<sc1.lim@samsung.com>
Thu, 8 Jul 2021 06:55:31 +0000
(15:55 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Thu, 8 Jul 2021 06:55:31 +0000
(15:55 +0900)
when the parameter is not vaild.
Change-Id: I58e2ca583e4ab868f838a1a3bbb85a6c50b82907
src/tbm_bufmgr.c
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr.c
b/src/tbm_bufmgr.c
index
a084cbf
..
5e5f90f
100644
(file)
--- a/
src/tbm_bufmgr.c
+++ b/
src/tbm_bufmgr.c
@@
-850,6
+850,7
@@
tbm_bufmgr_set_bo_lock_type(tbm_bufmgr bufmgr, tbm_bufmgr_bo_lock_type bo_lock_t
return 1;
failed:
+ _tbm_set_last_result(TBM_ERROR_INVALID_PARAMETER);
_tbm_bufmgr_mutex_unlock();
pthread_mutex_unlock(&gLock);