]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix double free in redirectors cleanup
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 25 Jul 2018 14:21:43 +0000 (15:21 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 25 Jul 2018 14:21:43 +0000 (15:21 +0100)
src/plugins/surbl.c

index a4507ae71d16bdb2a2aff92df5758abe5664d1aa..aca3cc49e2a0aa41b7b66b2f10b7fbcce477f3c5 100644 (file)
@@ -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 *));
        }