aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-import-assistant.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-import-assistant.c')
-rw-r--r--widgets/misc/e-import-assistant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/misc/e-import-assistant.c b/widgets/misc/e-import-assistant.c
index 77108c01a5..30d41385f4 100644
--- a/widgets/misc/e-import-assistant.c
+++ b/widgets/misc/e-import-assistant.c
@@ -1351,6 +1351,7 @@ e_import_assistant_new_simple (GtkWindow *parent,
import_assistant_construct (E_IMPORT_ASSISTANT (assistant));
if (!set_import_uris (E_IMPORT_ASSISTANT (assistant), uris)) {
+ g_object_ref_sink (assistant);
g_object_unref (assistant);
return NULL;
}