Fixed two small leaks added in the previous commit
authorSergio Villar Senin <svillar@igalia.com>
Wed, 30 Apr 2008 17:31:16 +0000 (17:31 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 30 Apr 2008 17:31:16 +0000 (17:31 +0000)
pmo-trunk-r4496

src/modest-ui-actions.c

index e4f50be..9106f02 100644 (file)
@@ -958,9 +958,11 @@ open_msg_cb (ModestMailOperation *mail_op,
                                        if (strcmp (from_header_email, from_email) == 0) {
                                                g_free (account);
                                                account = g_strdup (node->data);
+                                               g_free (from_email);
                                                g_free (from);
                                                break;
                                        }
+                                       g_free (from_email);
                                        g_free (from);
                                }
                        }