src: use RAII in setgroups implementation · nodejs/node@95ee3b5 · GitHub
Skip to content

Commit 95ee3b5

Browse files
addaleaxBridgeAR
authored andcommitted
src: use RAII in setgroups implementation
Prefer `MaybeStackBuffer` over manual memory management. PR-URL: #28022 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 1ef2811 commit 95ee3b5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/node_credentials.cc

Lines changed: 2 additions & 4 deletions

0 commit comments

Comments
 (0)