Commit Graph

13 Commits

Author SHA1 Message Date
Patryk Lesiewicz ca2ec213e3 Pass delete[] explicitely to Nan::NewBuffer.
Use the Nan::NewBuffer version that accepts an explicit callback
deallocating buffers. This way we'll be resilient to different nan/node
versions.

Fixes grpc/grpc#4867
2016-02-10 11:27:44 -08:00
Alistair Veitch 0285389dad post merge 2016-02-02 09:43:02 -08:00
Seongjin Cho 562fb94a2f Fixes memory leak when receiving data 2015-12-01 11:13:15 +09:00
murgatroid99 231617f5ba Update to nan 2.0 2015-09-17 13:56:25 -07:00
David Garcia Quintas 5834a21a25 Changes to byte_buffer based on comments. 2015-06-08 20:06:17 -07:00
David Garcia Quintas e000c3d26b Removed grpc_byte_buffer_reader_{create,destroy}.
Introduced grpc_byte_buffer_init instead. It's now the user's responsibility to
manage memory.
2015-06-01 21:20:47 -07:00
Alexander Staubo 95894e9f7d Remove unused references to malloc.h (which is non-standard, Linux-specific and generally deprecated; use <cstdlib> instead). 2015-04-05 01:27:58 -04:00
murgatroid99 b0910a21f5 Fixed segfault by fixing scope issue 2015-03-09 16:09:55 -07:00
murgatroid99 820ff875c7 Updated some c++ files for 0.11/0.12 compatibility 2015-03-04 11:28:37 -08:00
Craig Tiller da0983d56a Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 42af13c956 Update copyright to 2015 2015-02-18 08:34:56 -08:00
murgatroid99 e90b4d6d90 Switched extension to return faster sliceable Buffers 2015-01-29 18:02:17 -08:00
murgatroid99 0bd4b5a17c Moved extension and JS files to separate directories 2015-01-26 17:16:57 -08:00