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:
d11dc55
)
Check gBufMgr in _tbm_bo_valid()
41/87041/2
accepted/tizen/common/20160906.131424
accepted/tizen/ivi/20160907.060409
accepted/tizen/mobile/20160907.060252
accepted/tizen/tv/20160907.060320
accepted/tizen/wearable/20160907.060339
submit/tizen/20160906.071027
author
Sangjin Lee
<lsj119@samsung.com>
Tue, 6 Sep 2016 04:51:36 +0000
(13:51 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Tue, 6 Sep 2016 06:09:30 +0000
(23:09 -0700)
Change-Id: I6e6d44c45ebcd4bf91d5e53de52d1c2376a3d99a
src/tbm_bufmgr.c
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr.c
b/src/tbm_bufmgr.c
index
65c3ba6
..
0785ba1
100644
(file)
--- a/
src/tbm_bufmgr.c
+++ b/
src/tbm_bufmgr.c
@@
-357,6
+357,11
@@
_tbm_bo_is_valid(tbm_bo bo)
if (bo == NULL)
return 0;
+ if (gBufMgr == NULL) {
+ TBM_LOG_E("error tbm_bufmgr was deinited\n");
+ return 0;
+ }
+
if (!LIST_IS_EMPTY(&gBufMgr->bo_list)) {
LIST_FOR_EACH_ENTRY_SAFE(old_data, tmp, &gBufMgr->bo_list, item_link) {
if (old_data == bo)