Unverified Commit 96dae837 authored by Anna Henningsen's avatar Anna Henningsen Committed by Michaël Zasso
Browse files

zlib: fix memory leak for unused zlib instances

An oversight in an earlier commit led to a memory leak
in the untypical situation that zlib instances are created
but never used, because zlib handles no longer started
out their life as weak handles.

The bug was introduced in bd201102.

Refs: https://github.com/nodejs/node/pull/20455

PR-URL: https://github.com/nodejs/node/pull/21607


Reviewed-By: default avatarTobias Nießen <tniessen@tnie.de>
parent 9cd5c0ec
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