summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-10-23 22:32:41 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2014-10-23 22:50:00 +0200
commitd2131b74061801936f7f17f8714309aa45981980 (patch)
tree4b936dd64f1a3bb61b33d902f942f8089f54a0b4 /src/node_crypto.h
parent53a26d83f435f3efbd6c49602b321acf624de58c (diff)
downloadandroid-node-v8-d2131b74061801936f7f17f8714309aa45981980.tar.gz
android-node-v8-d2131b74061801936f7f17f8714309aa45981980.tar.bz2
android-node-v8-d2131b74061801936f7f17f8714309aa45981980.zip
src: mark SSLWrap destructor as virtual
Like the previous commit but this time for the SSLWrap destructor.
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r--src/node_crypto.h2
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;