fix crash vector in e17 entry

SVN revision: 62617
This commit is contained in:
Carsten Haitzler 2011-08-20 04:27:41 +00:00
parent c92b31afb7
commit 69f6ba9c0b
1 changed files with 1 additions and 1 deletions

View File

@ -1038,7 +1038,7 @@ _e_entry_smart_add(Evas_Object *object)
if ((!object) || !(evas = evas_object_evas_get(object)))
return;
sd = malloc(sizeof(E_Entry_Smart_Data));
sd = calloc(1, sizeof(E_Entry_Smart_Data));
if (!sd) return;
evas_object_smart_data_set(object, sd);