Browse Source

[2282merge] added virtual to a derived class dtor per convention/style guide.

JINMEI Tatuya 12 years ago
parent
commit
28c929309c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/nsec3hash.cc

+ 1 - 1
src/lib/dns/nsec3hash.cc

@@ -79,7 +79,7 @@ public:
         SHA1Reset(&sha1_ctx_);
     }
 
-    ~NSEC3HashRFC5155() {
+    virtual ~NSEC3HashRFC5155() {
         std::free(salt_data_);
     }