summaryrefslogtreecommitdiff
path: root/testapp.c
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2022-03-18 10:04:02 +0100
committerdormando <dormando@rydia.net>2022-07-03 17:42:58 -0700
commit1b28620a751db5a0ae667abf13442bf69a40c301 (patch)
tree159f8a813594fa64eb565b5e8f439533871291d7 /testapp.c
parente35bdee404a41fb7645a56e95e0ddb83c9f4bef7 (diff)
downloadmemcached-1b28620a751db5a0ae667abf13442bf69a40c301.tar.gz
Fix a memory leak in cache_limit_revised_downward_test
Diffstat (limited to 'testapp.c')
-rw-r--r--testapp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testapp.c b/testapp.c
index d4a8602..cc51d91 100644
--- a/testapp.c
+++ b/testapp.c
@@ -217,6 +217,8 @@ static enum test_return cache_limit_revised_downward_test(void)
assert(cache->total == allocated_num-1);
cache_destroy(cache);
+ free(alloc_objs);
+
return TEST_PASS;
}