Add return value.

Free e objects with e_object_del


SVN revision: 24768
This commit is contained in:
sebastid 2006-08-15 20:23:26 +00:00 committed by sebastid
parent 5d1b63007e
commit d3c17b77bf
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ e_entry_dialog_show(const char *title, const char *icon, const char *text,
dia = e_dialog_new(e_container_current_get(e_manager_current_get()), "E", "_entry_dialog");
if (!dia)
{
E_FREE(ed);
return;
e_object_del(E_OBJECT(ed));
return NULL;
}
dia->data = ed;
ed->dia = dia;