diff --git a/src/node_internals.h b/src/node_internals.h index 5cc439cc70..bfe4fced26 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -230,7 +230,7 @@ NODE_DEPRECATED("Use ThrowUVException(isolate)", class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator { public: - ArrayBufferAllocator() { } + ArrayBufferAllocator() : env_(nullptr) { } inline void set_env(Environment* env) { env_ = env; }