aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/archives.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-17 21:47:17 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-17 21:47:17 +0100
commit52041f014b47aa9f67bbaecda08a0fb18673cb93 (patch)
tree066af05b01d42e2e851dd88b7b9ddc198e3f8c8e /src/libmime/archives.c
parent0832f067cbba7812e166f857326c8f83d220692a (diff)
downloadrspamd-52041f014b47aa9f67bbaecda08a0fb18673cb93.tar.gz
rspamd-52041f014b47aa9f67bbaecda08a0fb18673cb93.zip
[Minor] Fix some double frees
Found by: coverity scan
Diffstat (limited to 'src/libmime/archives.c')
-rw-r--r--src/libmime/archives.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmime/archives.c b/src/libmime/archives.c
index 4d7867f67..1101213d1 100644
--- a/src/libmime/archives.c
+++ b/src/libmime/archives.c
@@ -254,6 +254,8 @@ rspamd_archive_process_zip (struct rspamd_task *task,
}
else {
g_free (f);
+
+ return;
}
/* Process extra fields */