Cleanup of memory allocated in nxt_mem_cache_pool_unit_test().
Leak sanitizer is happy now.
This commit is contained in:
parent
4df646a258
commit
c624c9ea64
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue