aboutsummaryrefslogtreecommitdiff
path: root/src/tls_wrap.h
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-05-22 21:07:07 -0700
committerMichaƫl Zasso <targos@protonmail.com>2019-05-28 07:33:33 +0200
commite8fa0671a48fe862ea1acc251e6c17ef4132165f (patch)
treeb01eb844016b4d95eb58e2ae51315150a43946d0 /src/tls_wrap.h
parent85f505c29215001b14d4ce30dd5c0da56fba79e1 (diff)
downloadandroid-node-v8-e8fa0671a48fe862ea1acc251e6c17ef4132165f.tar.gz
android-node-v8-e8fa0671a48fe862ea1acc251e6c17ef4132165f.tar.bz2
android-node-v8-e8fa0671a48fe862ea1acc251e6c17ef4132165f.zip
tls: destroy trace BIO instead of leaking it
Fixes: https://github.com/nodejs/node/issues/27636#issuecomment-491343214 PR-URL: https://github.com/nodejs/node/pull/27834 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/tls_wrap.h')
-rw-r--r--src/tls_wrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls_wrap.h b/src/tls_wrap.h
index b866bbb7af..e2ff682057 100644
--- a/src/tls_wrap.h
+++ b/src/tls_wrap.h
@@ -193,6 +193,8 @@ class TLSWrap : public AsyncWrap,
private:
static void GetWriteQueueSize(
const v8::FunctionCallbackInfo<v8::Value>& info);
+
+ crypto::BIOPointer bio_trace_;
};
} // namespace node