| commit | 1bc1da214f2ae460c3938a427c17bfc9d75d208b | [log] [tgz] |
|---|---|---|
| author | ColinLee <shuolin_l@163.com> | Fri Jun 20 22:59:13 2025 +0800 |
| committer | ColinLee <shuolin_l@163.com> | Fri Jun 20 22:59:13 2025 +0800 |
| tree | 121fd993e121773415f436cba3eb6dafaedd76a5 | |
| parent | e5f52b6218f3c4d9e7c6c287476d26c897e4ed2c [diff] |
fix memory leak.
diff --git a/cpp/test/reader/bloom_filter_test.cc b/cpp/test/reader/bloom_filter_test.cc index 5e8bbff..d947bf5 100644 --- a/cpp/test/reader/bloom_filter_test.cc +++ b/cpp/test/reader/bloom_filter_test.cc
@@ -62,4 +62,6 @@ ASSERT_TRUE(my_set.find(static_cast<int>(filter_data_bytes2[i])) != my_set.end()); } + common::mem_free(filter_data_bytes); + common::mem_free(filter_data_bytes2); }