summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/nxt_mem_cache_pool_unit_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/nxt_mem_cache_pool_unit_test.c b/test/nxt_mem_cache_pool_unit_test.c
index 4e4cefb7..6b35f5af 100644
--- a/test/nxt_mem_cache_pool_unit_test.c
+++ b/test/nxt_mem_cache_pool_unit_test.c
@@ -68,6 +68,8 @@ nxt_mem_cache_pool_unit_test(nxt_thread_t *thr, nxt_uint_t runs,
nxt_mem_cache_pool_destroy(pool);
+ nxt_free(blocks);
+
nxt_thread_time_update(thr);
nxt_log_error(NXT_LOG_NOTICE, thr->log, "mem cache pool unit test passed");