* As in r4690, bad merge that I didn't finish. This should fix
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 16 Jul 2008 15:32:44 +0000 (15:32 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 16 Jul 2008 15:32:44 +0000 (15:32 +0000)
  another likely crash in on_idle_exit_modest.

pmo-diablo-r5031

src/modest-main.c

index 9026288..0be40ac 100644 (file)
@@ -93,7 +93,7 @@ on_window_list_empty (ModestWindowMgr *window_mgr,
 
        /* Exit if there are no more windows and the queue is empty */
        if (modest_mail_operation_queue_num_elements (queue) == 0)
-               g_idle_add_full (G_PRIORITY_LOW, on_idle_exit_modest, user_data, g_free);
+               g_idle_add_full (G_PRIORITY_LOW, on_idle_exit_modest, user_data, NULL);
 }
 
 int