aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/expression.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/expression.c b/src/libutil/expression.c
index 71414dc66..6099a308f 100644
--- a/src/libutil/expression.c
+++ b/src/libutil/expression.c
@@ -1124,6 +1124,7 @@ rspamd_process_expression_closure (struct rspamd_expression *expr,
expr->evals ++;
+ memset (&pd, 0, sizeof (pd));
pd.process_closure = cb;
pd.flags = flags;
pd.ud = runtime_ud;