From bf719284017b9779eab39cae8ad7506f54a30e62 Mon Sep 17 00:00:00 2001 From: glima Date: Mon, 9 Aug 2010 22:28:53 +0000 Subject: [PATCH] Bad malloc here. By Helen Mae. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50947 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/edje_edit.c b/src/lib/edje_edit.c index 2a10f41..204027f 100644 --- a/src/lib/edje_edit.c +++ b/src/lib/edje_edit.c @@ -2731,7 +2731,7 @@ edje_edit_state_add(Evas_Object *obj, const char *part, const char *name, double rp->part->other.desc[rp->part->other.desc_count++] = pd; } - memset(pd, 0, sizeof (pd)); + memset(pd, 0, sizeof (*pd)); pd->state.name = eina_stringshare_add(name); pd->state.value = value; -- 2.7.4