From: Alberto Garcia Date: Wed, 12 Dec 2007 15:55:46 +0000 (+0000) Subject: Fix memory leak in create_msg_thread() X-Git-Tag: git_migration_finished~1936 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=77ceea6adee9a9d22007093bf92ea989bb6430fb;hp=d08fd58a15eb3a02abb305a9315ef48ead85716c Fix memory leak in create_msg_thread() pmo-trunk-r3902 --- diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index d9e31bc..7c78ded 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -805,6 +805,7 @@ create_msg_thread (gpointer thread_data) g_object_unref (info->mail_op); g_slice_free (CreateMsgInfo, info); + if (new_msg) g_object_unref(new_msg); return NULL; }