Do NOT unref the send queues after creating them
authorSergio Villar Senin <svillar@igalia.com>
Thu, 21 May 2009 12:42:45 +0000 (14:42 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 21 May 2009 12:42:45 +0000 (14:42 +0200)
src/modest-tny-account-store.c

index 66c9b99..6b05564 100644 (file)
@@ -1669,7 +1669,6 @@ insert_account (ModestTnyAccountStore *self,
           will automatically send missing emails when the connections
           become active */
        send_queue = modest_runtime_get_send_queue ((TnyTransportAccount *) transport_account, TRUE);
-       g_object_unref (send_queue);
 
        /* Notify the observers. We do it after everything is
           created */