Commit 3b78b854 authored by Trevor Norris's avatar Trevor Norris
Browse files

src: null env_ field from constructor

The env_ field in ArrayBufferAllocator needs to be null'd out since it
is used during initialization and checked prior to properly being set by
set_env().

Fixes: 74178a56 "buffer: construct Uint8Array in JS"
PR-URL: https://github.com/nodejs/node/pull/2913


Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent 6cb9e8a9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment