aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rspamd_proxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c
index 5c542105e..d9231ec3d 100644
--- a/src/rspamd_proxy.c
+++ b/src/rspamd_proxy.c
@@ -279,6 +279,8 @@ rspamd_proxy_parse_upstream (rspamd_mempool_t *pool,
}
up = g_slice_alloc0 (sizeof (*up));
+ up->parser_from_ref = -1;
+ up->parser_to_ref = -1;
up->name = g_strdup (ucl_object_tostring (elt));
elt = ucl_object_lookup (obj, "key");