mu-msg: plug some leaks

This commit is contained in:
Dirk-Jan C. Binnema
2020-01-19 17:22:43 +02:00
parent a3d71dab91
commit 6818c7df6c
2 changed files with 3 additions and 0 deletions

View File

@ -917,6 +917,7 @@ mu_msg_move_to_maildir (MuMsg *self, const char *maildir,
/* and create a new one */
self->_file = mu_msg_file_new (newfullpath, maildir, err);
g_free (targetmdir);
g_free (newfullpath);
return self->_file ? TRUE : FALSE;
}