]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix the valgrind error in newly added unittests for table stats
authorKai Liu <hfevers@gmail.com>
Mon, 21 Oct 2013 05:02:05 +0000 (22:02 -0700)
committerKai Liu <hfevers@gmail.com>
Mon, 21 Oct 2013 05:02:05 +0000 (22:02 -0700)
commit43ee5e2b3a26ec1958312fe38524b49da353ad81
treeff9efbfc4bdfe853aac3fbacea96568825351d84
parentbcc85579019644172b77dfafc2d87bbbaf88a9c3
Fix the valgrind error in newly added unittests for table stats

Summary:

Previous the newly added test called NewBloomFilter without releasing it at the end of the test, which resulted in memory leak and was detected by valgrind.

Test Plan:

Ran valgrind test.
table/table_test.cc