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(