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:
88036eb
)
e_comp_wl: added comp_data null check instead of e_object_is_del.
28/87028/1
author
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 6 Sep 2016 05:14:15 +0000
(14:14 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 6 Sep 2016 05:14:15 +0000
(14:14 +0900)
wl_callback resource leak could occur if we use e_object_is_del.
Change-Id: I0ff8cd4c509b6223836ceae04ba8e80d7cdc3209
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
3aa9575
..
dccfe89
100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-2655,7
+2655,7
@@
_e_comp_wl_frame_cb_destroy(struct wl_resource *resource)
E_Client *ec;
if (!(ec = wl_resource_get_user_data(resource))) return;
- if (
e_object_is_del(E_OBJECT(ec))
) return;
+ if (
!ec->comp_data
) return;
ec->comp_data->frames =
eina_list_remove(ec->comp_data->frames, resource);