* Fixes NB#90197, fixes a memory leak
authorSergio Villar Senin <svillar@igalia.com>
Thu, 16 Oct 2008 17:56:06 +0000 (17:56 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 16 Oct 2008 17:56:06 +0000 (17:56 +0000)
pmo-trunk-r6072

src/hildon2/modest-easysetup-wizard-dialog.c

index 0a5202e..638e5e1 100644 (file)
@@ -1586,6 +1586,7 @@ on_before_next (ModestWizardDialog *dialog, GtkWidget *current_page, GtkWidget *
                /* Aavoid a clash with an existing display name: */
                const gboolean name_in_use = modest_account_mgr_account_with_display_name_exists (
                        priv->account_manager, account_title);
+               g_free (account_title);
 
                if (name_in_use) {
                        /* Warn the user via a dialog: */