edje: fix memory leak

This commit is contained in:
Jean Guyomarc'h 2016-10-12 08:07:25 +02:00
parent 9bf0df8f32
commit f0df50fe67
No known key found for this signature in database
GPG Key ID: 9BFD70B4662DC58C
1 changed files with 2 additions and 0 deletions

View File

@ -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.VECTOR);
memset(&ce->mp->mp_rtl, 0, sizeof(ce->mp->mp_rtl));
free(ce->mp);
}
void