forked from enlightenment/efl
ok - that was screwy.. :) propt type problem - fixed :)
SVN revision: 3487
This commit is contained in:
parent
b585b3006d
commit
b57e34cc83
|
@ -7,6 +7,8 @@
|
|||
#include "evas_imlib_routines.h"
|
||||
#include "evas_image_routines.h"
|
||||
|
||||
void _evas_layer_free(Evas e, Evas_Layer layer);
|
||||
|
||||
Evas
|
||||
evas_new(void)
|
||||
{
|
||||
|
@ -33,10 +35,7 @@ evas_free(Evas e)
|
|||
Evas_Layer layer;
|
||||
|
||||
layer = l->data;
|
||||
/* FIXME: odd? can someine investigate? i'm stumped on this one */
|
||||
/* this is odd - compile evas with -O0 no segv - otherwise a */
|
||||
/* segv ....... ???? */
|
||||
_evas_layer_free(layer);
|
||||
_evas_layer_free(e, layer);
|
||||
}
|
||||
if (e->layers) evas_list_free(e->layers);
|
||||
if (e->updates) imlib_updates_free(e->updates);
|
||||
|
|
|
@ -36,6 +36,7 @@ _evas_remove_data(Evas e, Evas_Object o)
|
|||
Evas_Data d;
|
||||
|
||||
d = l->data;
|
||||
if (d->key)
|
||||
free(d->key);
|
||||
free(d);
|
||||
}
|
||||
|
@ -96,7 +97,9 @@ _evas_layer_free(Evas e, Evas_Layer layer)
|
|||
_evas_callback_call(e, o, CALLBACK_FREE, 0, 0, 0);
|
||||
_evas_remove_callbacks(e, o);
|
||||
_evas_remove_data(e, o);
|
||||
if (o->object_renderer_data_free)
|
||||
o->object_renderer_data_free(e, o);
|
||||
if (o->object_free)
|
||||
o->object_free(o);
|
||||
}
|
||||
free(layer);
|
||||
|
|
Loading…
Reference in New Issue