From ee8657a45522afaa5d6ca148c8ba1fa08220ccab Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 7 Sep 2018 17:30:58 -0400 Subject: [PATCH] Update per Erkan Tairi's comments --- bloom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bloom.c b/bloom.c index a64d7a1..08333db 100644 --- a/bloom.c +++ b/bloom.c @@ -25,7 +25,7 @@ bloom_t bloom_create(size_t size) { void bloom_free(bloom_t filter) { if (filter) { while (filter->func) { - struct bloom_hash *h; + struct bloom_hash *h = filter->func; filter->func = h->next; free(h); } -- 2.45.2