From a71def353b412ba84cf82d011165697044fd7f7d Mon Sep 17 00:00:00 2001 From: ruti <> Date: Tue, 26 Mar 2024 23:49:52 +0300 Subject: [PATCH] fix mem_destroy --- mpool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mpool.c b/mpool.c index 8efcb08..4b914de 100644 --- a/mpool.c +++ b/mpool.c @@ -125,6 +125,7 @@ void mem_destroy(struct mphdr *hdr) free(e); hdr->values[i] = 0; } + free(hdr->values); memset(hdr, 0, sizeof(*hdr)); free(hdr); } \ No newline at end of file