forked from enlightenment/efl
edje: fix memory leak
This commit is contained in:
parent
9bf0df8f32
commit
f0df50fe67
|
@ -88,6 +88,8 @@ edje_cache_emp_free(Edje_Part_Collection_Directory_Entry *ce)
|
||||||
eina_mempool_del(ce->mp->mp_rtl.CAMERA);
|
eina_mempool_del(ce->mp->mp_rtl.CAMERA);
|
||||||
eina_mempool_del(ce->mp->mp_rtl.VECTOR);
|
eina_mempool_del(ce->mp->mp_rtl.VECTOR);
|
||||||
memset(&ce->mp->mp_rtl, 0, sizeof(ce->mp->mp_rtl));
|
memset(&ce->mp->mp_rtl, 0, sizeof(ce->mp->mp_rtl));
|
||||||
|
|
||||||
|
free(ce->mp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue