edje_pick: realloc bug fix

@fix
This commit is contained in:
Jaehwan Kim 2016-07-07 14:30:17 +09:00
parent f6b3c31561
commit 0906506470
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ _edje_pick_images_copy(Edje_File *edf, Edje_File *o)
o->image_dir->entries_count += 1;
/* alloc mem first time or re-allocate again (bigger array) */
entries = realloc(entries,
entries = realloc(o->image_dir->entries,
o->image_dir->entries_count *
sizeof(Edje_Image_Directory_Entry));
if (!entries)