1 files changed, 1 insertions(+), 1 deletions(-)
M bloom.c
M bloom.c => bloom.c +1 -1
@@ 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);
}