Skip to content

Commit 5f164db

Browse files
authored
Merge pull request #17 from FastFilter/dlemire/issue16
Fixing issue 16
2 parents 1db3041 + 23a0673 commit 5f164db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bloom/bloom.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ SimpleBlockFilter<blocksize, k, HashFamily>::SimpleBlockFilter(
296296

297297
template <size_t blocksize, int k, typename HashFamily>
298298
SimpleBlockFilter<blocksize, k, HashFamily>::~SimpleBlockFilter() noexcept {
299-
free(data);
299+
delete[] data;
300300
data = nullptr;
301301
}
302302

0 commit comments

Comments
 (0)