[libc][Obvious] Destroy the block store var in block store test.
authorSiva Chandra Reddy <sivachandra@google.com>
Thu, 10 Mar 2022 21:35:43 +0000 (21:35 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Thu, 10 Mar 2022 21:36:46 +0000 (21:36 +0000)
libc/test/src/__support/CPP/blockstore_test.cpp

index 0fb4014..1f44bcf 100644 (file)
@@ -38,6 +38,8 @@ public:
       }
     }
     ASSERT_EQ(i, int(ELEMENT_COUNT));
+    __llvm_libc::cpp::BlockStore<Element, BLOCK_SIZE, REVERSE>::destroy(
+        &block_store);
   }
 };