From 32fae6795bcb8541cc62ecf917248208ef03923e Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Thu, 4 Dec 2008 23:07:07 +0000 Subject: [PATCH] Fix memory leak in lruFast.c during Tdeinit(). --- src/stasis/replacementPolicy/lruFast.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stasis/replacementPolicy/lruFast.c b/src/stasis/replacementPolicy/lruFast.c index 41bd723..f00fcce 100644 --- a/src/stasis/replacementPolicy/lruFast.c +++ b/src/stasis/replacementPolicy/lruFast.c @@ -52,6 +52,7 @@ static void deinit(struct replacementPolicy * r) { // responsibility to free the void *'s passed into us. //LH_ENTRY(destroy)(l->hash); LL_ENTRY(destroy)(l->lru); + free(l); free(r); } replacementPolicy * lruFastInit(