elc_popup.c: ELM_SAFE_FREE adoption for popup.

I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
This commit is contained in:
Daniel Juyung Seo 2013-05-29 20:15:12 +09:00
parent 6ac249e370
commit 9e3517fbcd
1 changed files with 1 additions and 3 deletions

View File

@ -532,9 +532,7 @@ _button_remove(Evas_Object *obj,
evas_object_event_callback_del
(sd->buttons[pos]->btn, EVAS_CALLBACK_DEL, _on_button_del);
free(sd->buttons[pos]);
sd->buttons[pos] = NULL;
ELM_SAFE_FREE(sd->buttons[pos], free);
sd->button_count -= 1;
if (!sd->no_shift)