fixed memory leak in node::buffer::copy