From d0ac1cb1de9bdc58c669b3324400a4a2b0406bb7 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Wed, 12 Jan 2011 17:19:34 +0900 Subject: [PATCH] [elm_selectioninfo.c] fixed memory leak. (elm_selectioninfo_label_set) --- src/lib/elm_selectioninfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_selectioninfo.c b/src/lib/elm_selectioninfo.c index da141d2..bb9268b 100644 --- a/src/lib/elm_selectioninfo.c +++ b/src/lib/elm_selectioninfo.c @@ -423,6 +423,6 @@ elm_selectioninfo_label_set(Evas_Object *obj, char* text) Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; - edje_object_part_text_set(_EDJ(wd->content), "elm.text", strdup(text)); + edje_object_part_text_set(_EDJ(wd->content), "elm.text", text); } -- 2.7.4