summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_load.c
diff options
context:
space:
mode:
authorSubhransu Mohanty <smohantty@gmail.com>2020-05-27 14:55:44 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2020-05-27 14:55:44 +0900
commit11cbb5ae9352d08221a52ffe0271aa97305fe75a (patch)
tree4e7eab457a2f0f1ced9c3e10ff2e97940819bf42 /src/lib/edje/edje_load.c
parenteb38000e3dd7a52a6af8daf17c6643dd86ff8f5c (diff)
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
Diffstat (limited to 'src/lib/edje/edje_load.c')
-rw-r--r--src/lib/edje/edje_load.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index b3fa2e3d57..55ac53adf1 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -2372,6 +2372,8 @@ _edje_collection_free(Edje_File *edf, Edje_Part_Collection *ec, Edje_Part_Collec
2372 if (ec->script) embryo_program_free(ec->script); 2372 if (ec->script) embryo_program_free(ec->script);
2373 _edje_lua2_script_unload(ec); 2373 _edje_lua2_script_unload(ec);
2374 2374
2375 if (ec->limits.parts) free(ec->limits.parts);
2376
2375 eina_hash_free(ec->alias); 2377 eina_hash_free(ec->alias);
2376 eina_hash_free(ec->aliased); 2378 eina_hash_free(ec->aliased);
2377 2379