diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-27 07:06:18 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-27 07:06:18 +0000 |
commit | 6d46ef5c157b87f6a44e009b4fc7f60078ecce59 (patch) | |
tree | 29c488db9daf4fb7d26d8e56c69e6f5cc6b9b246 /plugin | |
parent | f6ae755743b4ca15509098a5374e93f7450770e4 (diff) |
fixed fp and memory leaks.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3300 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/attachment_tool/attachment_tool.c | 1 |
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; } |