diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-03-06 22:23:34 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-03-06 22:23:34 +0300 |
commit | c624c9ea64f2631019d3284f91f405a8ee8ca207 (patch) | |
tree | 1a318317cb52c8105bc44afc47bfa5993e394fd9 /test/nxt_mem_cache_pool_unit_test.c | |
parent | 4df646a25888609b1cceab3cdcda14710f9498e4 (diff) | |
download | unit-c624c9ea64f2631019d3284f91f405a8ee8ca207.tar.gz unit-c624c9ea64f2631019d3284f91f405a8ee8ca207.tar.bz2 |
Cleanup of memory allocated in nxt_mem_cache_pool_unit_test().
Leak sanitizer is happy now.
Diffstat (limited to 'test/nxt_mem_cache_pool_unit_test.c')
-rw-r--r-- | test/nxt_mem_cache_pool_unit_test.c | 2 |
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"); |