From e66e2570c11da0d0ab1b8410f66fa130648029b1 Mon Sep 17 00:00:00 2001 From: tasn Date: Sun, 19 Feb 2012 15:28:42 +0000 Subject: [PATCH] Edje entry: Fix memory leak with markup filter. Spank Spank WooHyun. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@68124 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/edje_main.c b/src/lib/edje_main.c index 5d011ad..f70efb9 100644 --- a/src/lib/edje_main.c +++ b/src/lib/edje_main.c @@ -233,6 +233,11 @@ _edje_del(Edje *ed) eina_stringshare_del(cb->part); free(cb); } + EINA_LIST_FREE(ed->markup_filter_callbacks, cb) + { + eina_stringshare_del(cb->part); + free(cb); + } if (ed->members.text_class) { -- 2.7.4