From f888a5310c1808902b4035ca3454b62bc5cf4434 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 20 Jun 2017 19:49:17 +0300 Subject: Using new memory pool implementation. --- src/nxt_buf_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_buf_filter.c') 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) { -- cgit