Don't leak.

SVN revision: 40100
This commit is contained in:
Iván Briano 2009-04-16 04:48:46 +00:00
parent c5680c811c
commit e5478eb0e3
2 changed files with 11 additions and 1 deletions

View File

@ -549,7 +549,16 @@ e_bindings_edge_out_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event_
if (_e_bindings_context_match(bind->ctxt, ctxt))
{
if (bind->timer)
ecore_timer_del(bind->timer);
{
E_Binding_Edge_Data *ed;
ed = ecore_timer_del(bind->timer);
if (ed)
{
E_FREE(ed->ev);
E_FREE(ed);
}
}
bind->timer = NULL;
act = e_action_find(bind->action);

View File

@ -398,6 +398,7 @@ _e_int_menus_main_del_hook(void *obj)
if (dat->all_apps) e_object_del(E_OBJECT(dat->all_apps));
if (dat->desktops) e_object_del(E_OBJECT(dat->desktops));
if (dat->clients) e_object_del(E_OBJECT(dat->clients));
if (dat->lost_clients) e_object_del(E_OBJECT(dat->lost_clients));
if (dat->enlightenment) e_object_del(E_OBJECT(dat->enlightenment));
if (dat->config) e_object_del(E_OBJECT(dat->config));
free(dat);