aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/attachment_tool/attachment_tool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/attachment_tool/attachment_tool.c b/plugin/attachment_tool/attachment_tool.c
index 32ea4dd4..b7a324e4 100644
--- a/plugin/attachment_tool/attachment_tool.c
+++ b/plugin/attachment_tool/attachment_tool.c
@@ -211,6 +211,7 @@ static gboolean remove_attachment(MsgInfo *msginfo)
if ((outfp = g_fopen(outfile, "wb")) == NULL) {
g_free(outfile);
g_free(infile);
+ fclose(fp);
procmime_mimeinfo_free_all(mimeinfo);
return FALSE;
}