Bad malloc here.
authorglima <glima@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 9 Aug 2010 22:28:53 +0000 (22:28 +0000)
committerglima <glima@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 9 Aug 2010 22:28:53 +0000 (22:28 +0000)
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

index 2a10f41..204027f 100644 (file)
@@ -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;