aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/addr.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-14 17:26:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-14 17:26:22 +0100
commitd168084c5a7830353786e466b484a9db7d36b6c6 (patch)
treef60102b562daa05558675b3d52b7be98ba5d805e /src/libutil/addr.c
parent2ffba6be3740d5c3f8fe03a6a742310f6b770cff (diff)
downloadrspamd-d168084c5a7830353786e466b484a9db7d36b6c6.tar.gz
rspamd-d168084c5a7830353786e466b484a9db7d36b6c6.zip
[Minor] Fix more init/deinit leaks
Diffstat (limited to 'src/libutil/addr.c')
-rw-r--r--src/libutil/addr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libutil/addr.c b/src/libutil/addr.c
index dee5fbbb2..a00d2a86b 100644
--- a/src/libutil/addr.c
+++ b/src/libutil/addr.c
@@ -1752,9 +1752,7 @@ rspamd_inet_library_init (void)
void
rspamd_inet_library_destroy (void)
{
- if (local_addrs != NULL) {
- rspamd_map_helper_destroy_radix (local_addrs);
- }
+ /* Ugly: local_addrs will actually be freed by config object */
}
gsize