diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-25 12:45:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-25 12:45:29 +0100 |
commit | cf071c74aa8e7d2975b08a1271902401890c41f7 (patch) | |
tree | c9380a7702d1f1fc4db5012d3a413e30d11aabd6 /src/libserver/maps | |
parent | 0d0e9a7046cff4c7681d791a1275f906d4569d40 (diff) | |
download | rspamd-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.c | 8 |
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; } |