Commit 732add6e authored by Michael Dawson's avatar Michael Dawson
Browse files

crypto: avoid double free



Coverity scan reported a free after use and I think its
right. Tweak to avoid double free.

Signed-off-by: default avatarMichael Dawson <mdawson@devrus.com>

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


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarMinwoo Jung <nodecorelab@gmail.com>
Reviewed-By: default avatarDarshan Sen <raisinten@gmail.com>
parent d274347e
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