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:
e31441b
)
delete data device resources from hash using client
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 13 Aug 2015 17:55:16 +0000
(13:55 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 13 Aug 2015 18:21:56 +0000
(14:21 -0400)
fixes crash when currently-entered wl surface is destroyed
src/bin/e_comp_wl_data.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_data.c
b/src/bin/e_comp_wl_data.c
index
9f87d37
..
1759898
100644
(file)
--- a/
src/bin/e_comp_wl_data.c
+++ b/
src/bin/e_comp_wl_data.c
@@
-419,7
+419,8
@@
static const struct wl_data_device_interface _e_data_device_interface =
static void
_e_comp_wl_data_device_cb_unbind(struct wl_resource *resource)
{
- eina_hash_del_by_key(e_comp->wl_comp_data->mgr.data_resources, &resource);
+ struct wl_client *wc = wl_resource_get_client(resource);
+ eina_hash_del_by_key(e_comp->wl_comp_data->mgr.data_resources, &wc);
}
static void