aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-04-06 13:27:09 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-04-06 13:27:09 +0900
commit7eaf7af1d173921f20c4903a2d656554b9ec67fc (patch)
tree7a9c451355d9029007d084d1aaa8d68c1403106c /src
parentEo: Fix rare crash after call_resolve (diff)
downloadefl-7eaf7af1d173921f20c4903a2d656554b9ec67fc.tar.gz
Efl vpath: Fix usage of @class function
Calling an @class function with a real object is not safe. Missing check somewhere? I believe this should have failed safely.
Diffstat (limited to 'src')
-rw-r--r--src/lib/efl/interfaces/efl_vpath_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_vpath_manager.c b/src/lib/efl/interfaces/efl_vpath_manager.c
index fdf5e9aaf0..59be446be4 100644
--- a/src/lib/efl/interfaces/efl_vpath_manager.c
+++ b/src/lib/efl/interfaces/efl_vpath_manager.c
@@ -53,7 +53,7 @@ _register_sort_cb(Efl_Vpath_Manager_Entry *e1, Efl_Vpath_Manager_Entry *e2)
static Eina_Bool
_cb_vpath_del(void *data, const Eo_Event *event)
{
- efl_vpath_manager_unregister(data, event->obj);
+ efl_vpath_manager_unregister(EFL_VPATH_MANAGER_CLASS, event->obj);
eo_event_callback_del(event->obj, EO_BASE_EVENT_DEL, _cb_vpath_del, data);
return EINA_TRUE;
}