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

src/hildon2/modest-address-book.c

index 70caafc..16c7b18 100644 (file)
@@ -1209,6 +1209,7 @@ modest_address_book_has_address (const gchar *address)
                if (err)
                        g_error_free (err);
                g_free (email);
+               e_book_query_unref (query);
                return FALSE;
        }
        e_book_query_unref (query);