Fix JemallocNodumpAllocator destructor w/ jemalloc 5.0.
[folly.git] / folly / experimental / JemallocNodumpAllocator.h
index a87161f02dac9af95420bb4241a6f6fa4140f91c..40ebe99eb7817178aed9caf4c7bb68c737e97c61 100644 (file)
@@ -76,6 +76,7 @@ class JemallocNodumpAllocator {
   static void deallocate(void* p, void* userData);
 
   explicit JemallocNodumpAllocator(State state = State::ENABLED);
+  ~JemallocNodumpAllocator();
 
   void* allocate(size_t size);
   void* reallocate(void* p, size_t size);