aboutsummaryrefslogtreecommitdiff
path: root/src/rfc2015.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rfc2015.c')
-rw-r--r--src/rfc2015.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rfc2015.c b/src/rfc2015.c
index 432580e7..b715c4bc 100644
--- a/src/rfc2015.c
+++ b/src/rfc2015.c
@@ -565,6 +565,8 @@ gboolean rfc2015_msg_is_encrypted(const gchar *file)
ret = rfc2015_is_encrypted(mimeinfo);
procmime_mimeinfo_free_all(mimeinfo);
+ fclose(fp);
+
return ret != 0 ? TRUE : FALSE;
}