Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Avoid minor array leak in Agent #2412

Closed
wants to merge 1 commit into from
Closed

Avoid minor array leak in Agent #2412

wants to merge 1 commit into from

Conversation

stash
Copy link

@stash stash commented Dec 23, 2011

A comment "// don't leak" was present, but in dead code, so this may be fixing a regression.

My app connects to many different hosts (thousands) over the process lifetime. This bug would clearly leak keys and arrays in .sockets and .requests over the lifetime of the process.

Please consider cherry-picking to v0.6.

A comment "// don't leak" was present, but in dead code, so this may be
fixing a regression.
@koichik
Copy link

koichik commented Dec 24, 2011

Duplicate of #2069.

@bnoordhuis
Copy link
Member

@stash: Sorry, I'm the one to blame. @koichik already fixed this but I forgot to review his patch. Mea culpa. :(

@bnoordhuis bnoordhuis closed this Dec 26, 2011
richardlau pushed a commit to ibmruntimes/node that referenced this pull request Sep 18, 2015
Notable changes:

* events: Added EventEmitter#listenerCount(event) as a replacement for
  EventEmitter.listenerCount(emitter, event), which has now been
  marked as deprecated in the docs. (Sakthipriyan Vairamani) nodejs#2349
* module: Fixed an error with preloaded modules when the current
  working directory doesn't exist. (Bradley Meck) nodejs#2353
* node: Startup time is now about 5% faster when not passing V8 flags.
  (Evan Lucas) nodejs#2483
* repl: Tab-completion now works better with arrays.
  (James M Snell) nodejs#2409
* string_bytes: Fixed an unaligned write in the handling of UCS2
  encoding. (Fedor Indutny) nodejs#2480
* tls: Added a new --tls-cipher-list flag that can be used to override
  the built-in default cipher list. (James M Snell) nodejs#2412
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants