projects
/
platform
/
core
/
uifw
/
wayland-tbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de11f3
)
null check for wl_resource_user_data
71/124471/2
accepted/tizen/3.0/common/20170414.094841
accepted/tizen/3.0/ivi/20170414.043101
accepted/tizen/3.0/mobile/20170414.042914
accepted/tizen/3.0/tv/20170414.043000
accepted/tizen/3.0/wearable/20170414.043038
submit/tizen_3.0/20170413.101747
author
SooChan Lim
<sc1.lim@samsung.com>
Tue, 11 Apr 2017 10:17:50 +0000
(19:17 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Tue, 11 Apr 2017 10:22:26 +0000
(19:22 +0900)
Change-Id: I21187ae62216373bbbad18558469f5224c4c0c54
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
src/wayland-tbm-server.c
patch
|
blob
|
history
diff --git
a/src/wayland-tbm-server.c
b/src/wayland-tbm-server.c
index
ade9b8b
..
35ffe6e
100644
(file)
--- a/
src/wayland-tbm-server.c
+++ b/
src/wayland-tbm-server.c
@@
-984,6
+984,8
@@
wayland_tbm_server_get_surface(struct wayland_tbm_server *tbm_srv,
tbm_buffer = (struct wayland_tbm_buffer *)
wl_resource_get_user_data(wl_buffer);
+ WL_TBM_RETURN_VAL_IF_FAIL(tbm_buffer != NULL, NULL);
+
return tbm_buffer->surface;
}