Merge "Don't call the destructor on the base class." am: f80cad978c am: 8c5cc9d2ca
am: d8bf5cc9fc
Change-Id: Idba9b96b45da08e43419b22f158d2d39632b869b
diff --git a/base/HidlSupport.cpp b/base/HidlSupport.cpp
index a69faa2..eb4368f 100644
--- a/base/HidlSupport.cpp
+++ b/base/HidlSupport.cpp
@@ -315,9 +315,7 @@
: hidl_memory(name, std::move(handle), size) {}
// it's required to have at least one out-of-line method to avoid weak vtable
-HidlMemory::~HidlMemory() {
- hidl_memory::~hidl_memory();
-}
+HidlMemory::~HidlMemory() {}
} // namespace hardware
} // namespace android