aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-25 15:21:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-25 15:21:43 +0100
commit2c7084b5d6ee67bb1d890bb7821b652612b5d64e (patch)
tree9fc21cf6a7ee689c8a1816f786d30929ae8073f4 /src/plugins
parent65daeed69c7cf8e8b95935a1d1c91fe086caea9e (diff)
downloadrspamd-2c7084b5d6ee67bb1d890bb7821b652612b5d64e.tar.gz
rspamd-2c7084b5d6ee67bb1d890bb7821b652612b5d64e.zip
[Fix] Fix double free in redirectors cleanup
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/surbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index a4507ae71..aca3cc49e 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -240,6 +240,7 @@ read_exceptions_list (gchar * chunk,
g_free (t);
}
+ data->prev_data = NULL;
data->cur_data = g_malloc0 (MAX_LEVELS * sizeof (GHashTable *));
}