Oops. This leaks. Drip drip.

SVN revision: 5614
This commit is contained in:
cpk 2001-11-03 10:59:17 +00:00 committed by cpk
parent c1299402ad
commit 381e4bbd54
1 changed files with 6 additions and 0 deletions

View File

@ -472,6 +472,7 @@ e_bg_move_cb(void *_data, Evas _e, Evas_Object _o, int _b, int _x, int _y)
v->select.h = _y - v->select.down.y + 1; v->select.h = _y - v->select.down.y + 1;
} }
e_view_selection_update(v); e_view_selection_update(v);
} }
D_RETURN; D_RETURN;
@ -1883,6 +1884,8 @@ e_view_icon_cleanup(E_Icon *ic)
{ {
D_ENTER; D_ENTER;
/* FIXME: free stuff here! this leaks ...
e_object_cleanup(E_OBJECT(ic)); e_object_cleanup(E_OBJECT(ic));
D_RETURN; D_RETURN;
@ -2329,6 +2332,7 @@ e_view_icon_set_mime(E_Icon *ic, char *base, char *mime)
} }
ic->info.icon = strdup(icon); ic->info.icon = strdup(icon);
} }
e_view_icon_update_state(ic); e_view_icon_update_state(ic);
D_RETURN; D_RETURN;
@ -2515,6 +2519,8 @@ e_view_cleanup(E_View *v)
v->restarter = NULL; v->restarter = NULL;
ecore_window_destroy(v->win.base); ecore_window_destroy(v->win.base);
/* FIXME: clean up the rest!!! this leaks ... */
/* Call the destructor of the base class */ /* Call the destructor of the base class */
e_object_cleanup(E_OBJECT(v)); e_object_cleanup(E_OBJECT(v));