crypto: avoid double free · nodejs/node@adbd92e · GitHub
Skip to content

Commit adbd92e

Browse files
mhdawsontargos
authored andcommitted
crypto: avoid double free
Coverity scan reported a free after use and I think its right. Tweak to avoid double free. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #40380 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 977016a commit adbd92e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/crypto/crypto_util.h

Lines changed: 6 additions & 3 deletions

0 commit comments

Comments
 (0)