summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_buf_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_buf_filter.c')
-rw-r--r--src/nxt_buf_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_buf_filter.c b/src/nxt_buf_filter.c
index fff11f96..83e5baa9 100644
--- a/src/nxt_buf_filter.c
+++ b/src/nxt_buf_filter.c
@@ -415,7 +415,7 @@ nxt_buf_filter_buf_completion(nxt_task_t *task, void *obj, void *data)
fb = ctx->buf;
- nxt_mem_cache_free0(f->mem_pool, ctx, sizeof(nxt_buf_filter_ctx_t));
+ nxt_mp_free(f->mem_pool, ctx);
nxt_buf_pool_free(&f->filter_file->buffers, b);
if (fb->file_pos < fb->file_end) {