same leak as previous in import dialog

SVN revision: 83139
This commit is contained in:
Mike Blumenkrantz 2013-01-23 10:01:26 +00:00
parent 543b85aa2a
commit 11beb0649c
3 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,7 @@
* module error dialog is no longer remembered across restarts
* fixed small leak in efm when performing dnd onto mounted drive icon
* fixed small leak in e_import_config_dialog_show during failure case
* fixed small leak in e_import_dialog_show during failure case
2013-01-22 Mike Blumenkrantz

1
NEWS
View File

@ -114,3 +114,4 @@ Fixes:
* module error dialog is no longer remembered across restarts
* fix small leak in efm when performing dnd onto mounted drive icon
* fixed small leak in e_import_config_dialog_show during failure case
* fixed small leak in e_import_dialog_show during failure case

View File

@ -145,7 +145,11 @@ e_import_dialog_show(E_Container *con, const char *dev, const char *path, Ecore_
if (!id) return NULL;
dia = e_dialog_new(con, "E", "_import_fsel_dialog");
if (!dia) return NULL;
if (!dia)
{
e_object_del(E_OBJECT(id));
return NULL;
}
e_dialog_resizable_set(dia, 1);
dia->data = id;