diff --git a/src/modules/textops/txt_var.c b/src/modules/textops/txt_var.c index 398cd421204..6970b66bc73 100644 --- a/src/modules/textops/txt_var.c +++ b/src/modules/textops/txt_var.c @@ -215,6 +215,7 @@ char* tr_txt_parse_re(str *in, trans_t *t) LM_ERR("no more private memory!\n"); goto error; } + memset(tp, 0, sizeof(tr_param_t)); se=subst_parser(&tok);