Fixes leak 14/26
authorSergio Villar Senin <svillar@igalia.com>
Tue, 17 Mar 2009 19:30:26 +0000 (19:30 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 17 Mar 2009 19:30:26 +0000 (19:30 +0000)
pmo-trunk-r8118

src/hildon2/modest-address-book.c

index db0f693..6964ed3 100644 (file)
@@ -691,6 +691,7 @@ add_to_address_book (const gchar* address)
                if (err)
                        g_error_free (err);
                g_free (email);
+               e_book_query_unref (query);
                return FALSE;
        }
        e_book_query_unref (query);