summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-02-15 20:55:58 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-02-15 20:57:31 +0900
commita9497131f72041f91205d3c0dee7bb4b73414363 (patch)
treeabd95731b48d39d060c4c0f8e15b4b2d381538ea /src/lib/edje
parent63bd03f2ed3f437c4a0ef04ea9fba276d19f7948 (diff)
edje: Fix object leak with Efl.Part
A call to efl_reuse was missing.
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_main.c1
-rw-r--r--src/lib/edje/edje_part_helper.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/edje/edje_main.c b/src/lib/edje/edje_main.c
index f6d8462e35..dd62ce331a 100644
--- a/src/lib/edje/edje_main.c
+++ b/src/lib/edje/edje_main.c
@@ -187,6 +187,7 @@ _edje_shutdown_core(void)
187 _edje_message_shutdown(); 187 _edje_message_shutdown();
188 _edje_module_shutdown(); 188 _edje_module_shutdown();
189 _edje_external_shutdown(); 189 _edje_external_shutdown();
190 _edje_internal_proxy_shutdown();
190 _edje_box_shutdown(); 191 _edje_box_shutdown();
191 _edje_text_class_hash_free(); 192 _edje_text_class_hash_free();
192 _edje_size_class_hash_free(); 193 _edje_size_class_hash_free();
diff --git a/src/lib/edje/edje_part_helper.h b/src/lib/edje/edje_part_helper.h
index 3f17a1261e..c3f5f2bf5a 100644
--- a/src/lib/edje/edje_part_helper.h
+++ b/src/lib/edje/edje_part_helper.h
@@ -59,6 +59,7 @@ type ## _del_cb(Eo *proxy) \
59 efl_ref(proxy); \ 59 efl_ref(proxy); \
60 efl_parent_set(proxy, NULL); \ 60 efl_parent_set(proxy, NULL); \
61 } \ 61 } \
62 efl_reuse(proxy); \
62 _ ## type ## _proxy = proxy; \ 63 _ ## type ## _proxy = proxy; \
63} \ 64} \
64\ 65\