Bad malloc here.

By Helen Mae.



SVN revision: 50947
This commit is contained in:
Gustavo Lima Chaves 2010-08-09 22:28:53 +00:00
parent 33af18dfd1
commit ae5a95f108
1 changed files with 1 additions and 1 deletions

View 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;