Browse Source

src: mark SSLWrap destructor as virtual

Like the previous commit but this time for the SSLWrap destructor.
archived-io.js-v0.12
Ben Noordhuis 10 years ago
parent
commit
d2131b7406
  1. 2
      src/node_crypto.h

2
src/node_crypto.h

@ -164,7 +164,7 @@ class SSLWrap {
CHECK_NE(ssl_, nullptr);
}
~SSLWrap() {
virtual ~SSLWrap() {
if (ssl_ != nullptr) {
SSL_free(ssl_);
ssl_ = nullptr;

Loading…
Cancel
Save