projects
/
platform
/
core
/
appfw
/
widget-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aac94b7
)
Do not try to release the wl_drm if it is not initialized.
05/42305/1
accepted/tizen/mobile/20150626.021442
submit/tizen_mobile/20150625.111933
author
Sung-jae Park
<nicesj.park@samsung.com>
Thu, 25 Jun 2015 11:18:48 +0000
(20:18 +0900)
committer
Sung-jae Park
<nicesj.park@samsung.com>
Thu, 25 Jun 2015 11:18:48 +0000
(20:18 +0900)
Change-Id: I94750eec5bc9c7bd9621eb3045867b7e047a2109
src/util_wayland.c
patch
|
blob
|
history
diff --git
a/src/util_wayland.c
b/src/util_wayland.c
index
4764af6
..
366f9ba
100644
(file)
--- a/
src/util_wayland.c
+++ b/
src/util_wayland.c
@@
-437,7
+437,10
@@
EAPI int widget_util_get_drm_fd(void *dpy, int *fd)
wl_event_queue_destroy(wl_queue);
wl_registry_destroy(wl_registry);
- wl_drm_destroy(info.wl_drm);
+
+ if (info.wl_drm) {
+ wl_drm_destroy(info.wl_drm);
+ }
if (disp == dpy) {
wl_display_disconnect(disp);