From 4f7ba3aaed08b0f29a2828a44fb9eed525f47610 Mon Sep 17 00:00:00 2001 From: anand76 Date: Fri, 19 Jul 2019 13:20:45 -0700 Subject: [PATCH] Fix tsan and valgrind failures in import_column_family_test Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/5598 Test Plan: tsan_check valgrind_test Differential Revision: D16380167 Pulled By: anand1976 fbshipit-source-id: 2d0caea7d2d02a9606457f62811175d762b89d5c --- db/import_column_family_test.cc | 1 + 1 file changed, 1 insertion(+) 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"); }