There was an error while loading. Please reload this page.
1 parent ad0669b commit e4b7019Copy full SHA for e4b7019
1 file changed
src/node_crypto.cc
@@ -5498,6 +5498,7 @@ class RandomBytesRequest : public AsyncWrap {
5498
size_ = 0;
5499
if (free_mode_ == FREE_DATA) {
5500
free(data_);
5501
+ data_ = nullptr;
5502
}
5503
5504
0 commit comments