edje: Fix object leak with Efl.Part

A call to efl_reuse was missing.
This commit is contained in:
Jean-Philippe Andre 2017-02-15 20:55:58 +09:00
parent 63bd03f2ed
commit a9497131f7
2 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,7 @@ _edje_shutdown_core(void)
_edje_message_shutdown();
_edje_module_shutdown();
_edje_external_shutdown();
_edje_internal_proxy_shutdown();
_edje_box_shutdown();
_edje_text_class_hash_free();
_edje_size_class_hash_free();

View File

@ -59,6 +59,7 @@ type ## _del_cb(Eo *proxy) \
efl_ref(proxy); \
efl_parent_set(proxy, NULL); \
} \
efl_reuse(proxy); \
_ ## type ## _proxy = proxy; \
} \
\