Commit d690a87b authored by Anna Henningsen's avatar Anna Henningsen Committed by Daniel Bevenius
Browse files

os: fix memory leak in `userInfo()`

This previously leaked memory in the ‘success’ case.

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


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 6f4721b7
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