backport previous import config dialog leak fix

SVN revision: 83138
This commit is contained in:
Mike Blumenkrantz 2013-01-23 10:00:09 +00:00
parent ebe9fbd3bd
commit b7d8881e1e
3 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* 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
2013-01-22 Massimo Maiurana

1
NEWS
View File

@ -39,3 +39,4 @@ Fixes:
* fixed bug where "don't composite fullscreen windows" option would cause some windows to stop appearing
* 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

View File

@ -449,7 +449,11 @@ e_import_config_dialog_show(E_Container *con, const char *path, Ecore_End_Cb ok,
if (!import) return NULL;
dia = e_dialog_new(con, "E", "_import_config_dialog");
if (!dia) return NULL;
if (!dia)
{
e_object_del(E_OBJECT(import));
return NULL;
}
e_dialog_resizable_set(dia, 1);
e_dialog_title_set(dia, _("Import Settings..."));