* mu-cmd-extract.c: free list of indices after use

This commit is contained in:
Dirk-Jan C. Binnema 2011-05-22 14:50:03 +03:00
parent c6812eeb8c
commit 744b363d8e
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,7 @@ save_part (MuMsg *msg, const char *targetdir, guint partidx, gboolean overwrite,
g_warning ("failed to get filepath");
return FALSE;
}
err = NULL;
if (!mu_msg_part_save (msg, filepath, partidx, overwrite, FALSE, &err)) {
g_warning ("failed to save MIME-part: %s",
@ -150,6 +150,8 @@ save_part_with_filename (MuMsg *msg, const char *pattern, MuConfig *opts)
rv &= save_part (msg, opts->targetdir,
GPOINTER_TO_UINT(cur->data),
opts->overwrite, opts->play);
g_slist_free (lst);
return rv;
}