diff --git a/db/import_column_family_test.cc b/db/import_column_family_test.cc index bc239c699..4f695d33f 100644 --- a/db/import_column_family_test.cc +++ b/db/import_column_family_test.cc @@ -427,6 +427,7 @@ TEST_F(ImportColumnFamilyTest, ImportExportedSSTFromAnotherDB) { } db_copy->DropColumnFamily(cfh); db_copy->DestroyColumnFamilyHandle(cfh); + delete db_copy; test::DestroyDir(env_, dbname_ + "/db_copy"); }