elementary/multibuttonentry - [E-devel] [Patch] elc_multibuttonentry memory leak...
authorChunEon Park <hermet@hermet.pe.kr>
Mon, 20 Aug 2012 05:22:06 +0000 (05:22 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Mon, 20 Aug 2012 05:22:06 +0000 (05:22 +0000)
Dear, all

I've attached a patch that fixed the memory leak.

There is not a free() in _del_hook().

Please review this patch.

Sincerely yours,

Jihyeon Seol

Signed-Off-By: JiHyeon Seol<jiheyon.seol@samsung.com>
SVN revision: 75439

AUTHORS
src/lib/elc_multibuttonentry.c

diff --git a/AUTHORS b/AUTHORS
index 08ba166..5889350 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -61,4 +61,5 @@ Michal Pakula vel Rutka <m.pakula@samsung.com>
 Thiep Ha <thiep.ha@samsung.com>
 Artem Popov <artem.popov@samsung.com>
 Minseok Kim <minseok3.kim@samsung.com>
-Jean-Philippe AndrĂ© <jpeg@videolan.org>
\ No newline at end of file
+Jean-Philippe AndrĂ© <jpeg@videolan.org>
+JiHyeon Seol <jihyeon.seol@samsung.com>
index 0b4ecf9..6b4b8a2 100644 (file)
@@ -172,6 +172,7 @@ _del_hook(Evas_Object *obj)
    if (wd->guidetext) evas_object_del(wd->guidetext);
    if (wd->end) evas_object_del(wd->end);
    if (wd->rect_for_end) evas_object_del(wd->rect_for_end);
+   free(wd);
 }
 
 static void