mirror of https://github.com/djcb/mu.git
mu-msg: plug some leaks
This commit is contained in:
parent
a3d71dab91
commit
6818c7df6c
|
@ -247,6 +247,8 @@ get_mailing_list (MuMsgFile *self)
|
|||
else
|
||||
res = g_strdup (dechdr);
|
||||
|
||||
g_free (dechdr);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue