projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53a26d8
)
src: mark SSLWrap destructor as virtual
author
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 23 Oct 2014 20:32:41 +0000
(22:32 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 23 Oct 2014 20:50:00 +0000
(22:50 +0200)
Like the previous commit but this time for the SSLWrap destructor.
src/node_crypto.h
patch
|
blob
|
history
diff --git
a/src/node_crypto.h
b/src/node_crypto.h
index
3c78ed6
..
4d2b9ce
100644
(file)
--- 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;