forked from enlightenment/efl
fix segv - cant access file after its been freed...
SVN revision: 33892
This commit is contained in:
parent
0cd91f89df
commit
7564343804
|
@ -642,11 +642,6 @@ _edje_file_del(Edje *ed)
|
|||
_edje_cache_coll_unref(ed->file, ed->collection);
|
||||
ed->collection = NULL;
|
||||
}
|
||||
if (ed->file)
|
||||
{
|
||||
_edje_cache_file_unref(ed->file);
|
||||
ed->file = NULL;
|
||||
}
|
||||
if (ed->table_parts)
|
||||
{
|
||||
int i;
|
||||
|
@ -691,6 +686,11 @@ _edje_file_del(Edje *ed)
|
|||
free(rp);
|
||||
}
|
||||
}
|
||||
if (ed->file)
|
||||
{
|
||||
_edje_cache_file_unref(ed->file);
|
||||
ed->file = NULL;
|
||||
}
|
||||
if (ed->actions)
|
||||
{
|
||||
while (ed->actions)
|
||||
|
|
Loading…
Reference in New Issue