summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_var.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_var.c')
-rw-r--r--src/nxt_var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_var.c b/src/nxt_var.c
index e45c4f14..a297b5b3 100644
--- a/src/nxt_var.c
+++ b/src/nxt_var.c
@@ -141,7 +141,7 @@ nxt_var_ref_get(nxt_tstr_state_t *state, nxt_str_t *name)
goto done;
}
- ret = nxt_http_unknown_var_ref(state, ref, name);
+ ret = nxt_http_unknown_var_ref(state->pool, ref, name);
if (nxt_slow_path(ret != NXT_OK)) {
return NULL;
}