From d61c2323894c33b38fc6d3ebf493b0e1a1d8d755 Mon Sep 17 00:00:00 2001 From: shilpa singh Date: Tue, 24 Aug 2010 17:19:24 +0900 Subject: [PATCH] used ELM_NEW instead of malloc --- src/lib/elm_popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_popup.c b/src/lib/elm_popup.c index b4841b1..0fe591c 100644 --- a/src/lib/elm_popup.c +++ b/src/lib/elm_popup.c @@ -266,7 +266,7 @@ _elm_popup_add_button(Evas_Object *obj, const char *text, int response_id) Evas_Object *btn; if (!wd) return NULL; - Action_Area_Data *adata = ELM_NEW(sizeof(Action_Area_Data)); + Action_Area_Data *adata = ELM_NEW(Action_Area_Data); btn = elm_button_add(obj); snprintf(buf, sizeof(buf), "popup_button/%s", elm_widget_style_get(obj)); elm_object_style_set(btn, buf); -- 2.7.4