diff --git a/db/db_test.cc b/db/db_test.cc index a88b78e3c..52c6ad794 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -800,6 +800,8 @@ TEST(DBTest, KeyMayExist) { ASSERT_OK(db_->Delete(WriteOptions(), "c")); ASSERT_TRUE(!db_->KeyMayExist("c")); + + delete options.filter_policy; } while (ChangeOptions()); }