zlib: fix write request reference counting
authorBen Noordhuis <info@bnoordhuis.nl>
Sat, 5 Oct 2013 17:48:33 +0000 (19:48 +0200)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Tue, 8 Oct 2013 15:20:43 +0000 (08:20 -0700)
commit406846fcc5193b587d724e0d9a516b581458d499
tree39a50270432863d11fecda4dfa316404da0586b0
parent711ec07d3402c3494243afe191d6ecd13580fead
zlib: fix write request reference counting

Keep track of the reference count, don't make the wrapper object weak
when there are pending write requests.  Fixes a regression from c79d516.
src/node_zlib.cc