X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-msg-edit-window.c;h=e7832fab2f4324d4ed6894df8241333d0364062f;hp=6c770fb9cfb13b8898f6bcfe6a6924b3cde7ec2b;hb=4358219775374e5f8bd1286cff5bfb0641c96c7c;hpb=646b9d2f7b7456a37da7be94c87b507cfcd031ee diff --git a/src/maemo/modest-msg-edit-window.c b/src/maemo/modest-msg-edit-window.c index 6c770fb..e7832fa 100644 --- a/src/maemo/modest-msg-edit-window.c +++ b/src/maemo/modest-msg-edit-window.c @@ -1498,6 +1498,7 @@ modest_msg_edit_window_free_msg_data (ModestMsgEditWindow *edit_window, g_free (data->to); g_free (data->cc); g_free (data->bcc); + g_free (data->from); g_free (data->subject); g_free (data->plain_body); g_free (data->html_body); @@ -3213,7 +3214,6 @@ modest_msg_edit_window_set_draft (ModestMsgEditWindow *window, ModestWindowMgr *mgr = modest_runtime_get_window_mgr (); if (priv->draft_msg != NULL) { - modest_window_mgr_unregister_window (mgr, MODEST_WINDOW (window)); g_object_unref (priv->draft_msg); }