diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-10-23 22:32:41 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2014-10-23 22:50:00 +0200 |
commit | d2131b74061801936f7f17f8714309aa45981980 (patch) | |
tree | 4b936dd64f1a3bb61b33d902f942f8089f54a0b4 | |
parent | 53a26d83f435f3efbd6c49602b321acf624de58c (diff) | |
download | node-new-d2131b74061801936f7f17f8714309aa45981980.tar.gz |
src: mark SSLWrap destructor as virtual
Like the previous commit but this time for the SSLWrap destructor.
-rw-r--r-- | src/node_crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 3c78ed6744..4d2b9cec07 100644 --- a/src/node_crypto.h +++ b/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; |