SVN revision: 74868
This commit is contained in:
Carsten Haitzler 2012-08-04 04:14:38 +00:00
parent fd9578514e
commit 6d02ebcf28
2 changed files with 12 additions and 2 deletions

View File

@ -74,6 +74,11 @@ evas_object_free(Evas_Object *obj, int clean_layer)
evas_object_clip_changes_clean(obj); evas_object_clip_changes_clean(obj);
evas_object_event_callback_all_del(obj); evas_object_event_callback_all_del(obj);
evas_object_event_callback_cleanup(obj); evas_object_event_callback_cleanup(obj);
if (obj->spans)
{
free(obj->spans);
obj->spans = NULL;
}
while (obj->data.elements) while (obj->data.elements)
{ {
Evas_Data_Node *node; Evas_Data_Node *node;

View File

@ -571,6 +571,8 @@ evas_module_clean(void)
/* } */ /* } */
} }
static Eina_Prefix *pfx = NULL;
/* will dlclose all the modules loaded and free all the structs */ /* will dlclose all the modules loaded and free all the structs */
void void
evas_module_shutdown(void) evas_module_shutdown(void)
@ -599,6 +601,11 @@ evas_module_shutdown(void)
eina_array_free(evas_engines); eina_array_free(evas_engines);
evas_engines = NULL; evas_engines = NULL;
if (pfx)
{
eina_prefix_free(pfx);
pfx = NULL;
}
} }
EAPI int EAPI int
@ -621,8 +628,6 @@ _evas_module_engine_inherit(Evas_Func *funcs, char *name)
return 0; return 0;
} }
static Eina_Prefix *pfx = NULL;
EAPI const char * EAPI const char *
_evas_module_libdir_get(void) _evas_module_libdir_get(void)
{ {