From: Vsevolod Stakhov Date: Wed, 25 Jul 2018 14:21:43 +0000 (+0100) Subject: [Fix] Fix double free in redirectors cleanup X-Git-Tag: 1.7.9~47 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2c7084b5d6ee67bb1d890bb7821b652612b5d64e;p=rspamd.git [Fix] Fix double free in redirectors cleanup --- 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 *)); }