aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r--src/plugins/surbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index 87b8effa7..f49a69c8b 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -121,7 +121,7 @@ read_exceptions_list (gchar * chunk,
gboolean final)
{
if (data->cur_data == NULL) {
- data->cur_data = g_malloc (sizeof (GHashTable *) * MAX_LEVELS);
+ data->cur_data = g_malloc0 (sizeof (GHashTable *) * MAX_LEVELS);
}
return rspamd_parse_kv_list (
chunk,