rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=2f4e349f10dbe338fd3a2097bad990779397464f
commit 2f4e349f10dbe338fd3a2097bad990779397464f Author: Vyacheslav Reutskiy <v.reuts...@samsung.com> Date: Wed May 18 11:21:51 2016 +0300 style_manager: free data after callback call Change-Id: I03593543afdcb4012d12956d004fff81f94fc24c --- src/bin/ui/property_style.c | 3 --- src/bin/ui/style_manager.c | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/ui/property_style.c b/src/bin/ui/property_style.c index f445ba8..5d9d02a 100644 --- a/src/bin/ui/property_style.c +++ b/src/bin/ui/property_style.c @@ -1346,9 +1346,6 @@ _on_style_selected(void *data , _glow_shadow_prop_update(pd, eina_strbuf_string_get(CURRENT.style)); } - - free(current_style); - eina_strbuf_free(CURRENT.style); } static void diff --git a/src/bin/ui/style_manager.c b/src/bin/ui/style_manager.c index 36ca600..dc89ec2 100644 --- a/src/bin/ui/style_manager.c +++ b/src/bin/ui/style_manager.c @@ -209,6 +209,10 @@ _on_glit_selected(void *data __UNUSED__, } evas_object_smart_callback_call(ap.win, SIGNAL_STYLE_SELECTED, current_style); + /* free data for callbacks */ + eina_stringshare_del(current_style->stvalue); + eina_strbuf_free(current_style->style); + free(current_style); } static void --