summaryrefslogtreecommitdiffstats
path: root/src/libserver/maps
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-25 12:45:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-25 12:45:29 +0100
commitcf071c74aa8e7d2975b08a1271902401890c41f7 (patch)
treec9380a7702d1f1fc4db5012d3a413e30d11aabd6 /src/libserver/maps
parent0d0e9a7046cff4c7681d791a1275f906d4569d40 (diff)
downloadrspamd-cf071c74aa8e7d2975b08a1271902401890c41f7.tar.gz
rspamd-cf071c74aa8e7d2975b08a1271902401890c41f7.zip
[Minor] Fix some more issues
Found by: coverity scan
Diffstat (limited to 'src/libserver/maps')
-rw-r--r--src/libserver/maps/map.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/maps/map.c b/src/libserver/maps/map.c
index eaf7958f8..d30b2b40d 100644
--- a/src/libserver/maps/map.c
+++ b/src/libserver/maps/map.c
@@ -2661,6 +2661,14 @@ err:
g_free (hdata);
}
+ if (fdata) {
+ g_free (fdata);
+ }
+
+ if (sdata) {
+ g_free (sdata);
+ }
+
return NULL;
}