diff --git a/test/intrapred_test.cc b/test/intrapred_test.cc
index 39ec89679b7fdcc02a6dc8f694bd668b585ac9b3..da96741c82bfd8c3eb9951f5db2414598ad9dcd2 100644
--- a/test/intrapred_test.cc
+++ b/test/intrapred_test.cc
@@ -27,6 +27,8 @@ using libvpx_test::ACMRandom;
 
 class IntraPredBase {
  public:
+  virtual ~IntraPredBase() {}
+
   virtual void TearDown() {
     libvpx_test::ClearSystemState();
   }