edje: fix memory leak by freeing the limits pointer.

Summary:
This limit parts are only used in naviframe edc thats why it is
only showing up in naviframe test app.

Reviewers: Jaehyun_Cho, Hermet

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11887
This commit is contained in:
Subhransu Mohanty 2020-05-27 14:55:44 +09:00 committed by Jaehyun Cho
parent eb38000e3d
commit 11cbb5ae93
1 changed files with 2 additions and 0 deletions

View File

@ -2372,6 +2372,8 @@ _edje_collection_free(Edje_File *edf, Edje_Part_Collection *ec, Edje_Part_Collec
if (ec->script) embryo_program_free(ec->script);
_edje_lua2_script_unload(ec);
if (ec->limits.parts) free(ec->limits.parts);
eina_hash_free(ec->alias);
eina_hash_free(ec->aliased);