aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/maps
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-01 14:52:57 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-01 14:52:57 +0100
commit03630564dc8139b66a54f4e353ca1b92a5a8f40f (patch)
tree79a09672be964b75697b76edead79c3d622b1ca4 /src/libserver/maps
parent718238fd33017f346d1e84fe757481f9f147eb90 (diff)
downloadrspamd-03630564dc8139b66a54f4e353ca1b92a5a8f40f.tar.gz
rspamd-03630564dc8139b66a54f4e353ca1b92a5a8f40f.zip
[Minor] Plug dtor memory leak (not important)
Diffstat (limited to 'src/libserver/maps')
-rw-r--r--src/libserver/maps/map_helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/maps/map_helpers.c b/src/libserver/maps/map_helpers.c
index c2bfe1292..f98e4dafc 100644
--- a/src/libserver/maps/map_helpers.c
+++ b/src/libserver/maps/map_helpers.c
@@ -1095,6 +1095,8 @@ rspamd_re_maps_cache_cleanup_dtor (gpointer ud)
g_free (basename);
}
+
+ g_ptr_array_free (cache_files, TRUE);
}
g_hash_table_unref (cbd->valid_re_hashes);