projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7508348
)
check if cdata is NULL
24/44524/2
author
Boram Park
<boram1288.park@samsung.com>
Thu, 23 Jul 2015 03:34:06 +0000
(12:34 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Thu, 23 Jul 2015 03:39:58 +0000
(20:39 -0700)
Change-Id: Iff905872bf5c8d8dbd7450d4158aecfb2cb55b10
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index 77e459f0acbcf761a06e07b858b7caf60c2270e4..bd2545d2dbfd8b2277e41e6775ae1548f8932625 100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-1880,7
+1880,8
@@
_e_comp_wl_compositor_cb_surface_create(struct wl_client *client, struct wl_reso
wl_resource_set_user_data(res, ep);
E_Comp_Wl_Client_Data *cdata = e_pixmap_cdata_get(ep);
- cdata->wl_surface = res;
+ if (cdata)
+ cdata->wl_surface = res;
/* emit surface create signal */
wl_signal_emit(&comp->wl_comp_data->signals.surface.create, res);