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:
55f4a1e
)
use TBM_LOG_E at error case in tbm_bufmgr_backend.c
73/118773/1
author
SooChan Lim
<sc1.lim@samsung.com>
Tue, 14 Mar 2017 04:06:22 +0000
(13:06 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Tue, 14 Mar 2017 04:06:22 +0000
(13:06 +0900)
Change-Id: I6c3ce49a6c9cbaa7a84057815257fdaa8a58cc23
src/tbm_bufmgr_backend.c
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr_backend.c
b/src/tbm_bufmgr_backend.c
index f3a8218d0cf03fa9ffa5eee655ab21d5c69df60c..9bbf53ca38f2700b04821c5b3c21a315bbf3f7ef 100644
(file)
--- a/
src/tbm_bufmgr_backend.c
+++ b/
src/tbm_bufmgr_backend.c
@@
-43,8
+43,10
@@
tbm_bufmgr_backend tbm_backend_alloc(void)
tbm_bufmgr_backend bufmgr_backend;
bufmgr_backend = calloc(1, sizeof(struct _tbm_bufmgr_backend));
- if (!bufmgr_backend)
+ if (!bufmgr_backend) {
+ TBM_LOG_E("error: fail to allocate the bufmgr_backend\n");
return NULL;
+ }
return bufmgr_backend;
}