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

src/hildon2/modest-address-book.c

index 16c7b18..db0f693 100644 (file)
@@ -690,6 +690,7 @@ add_to_address_book (const gchar* address)
                            err ? err->message : "<unknown>");
                if (err)
                        g_error_free (err);
+               g_free (email);
                return FALSE;
        }
        e_book_query_unref (query);