HomeFreeBSD

get_key_material_https: removed bogus free() call

Description

get_key_material_https: removed bogus free() call

The get_key_material_https() function error code path had a bogus
free() call, either resulting in double-free or free() of undefined
pointer.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ahelenia Ziemia<C5><84>ska <nabijaczleweli@nabijaczleweli.xyz>
Co-authored-by: Harry Sintonen <sintonen@iki.fi>
Signed-off-by: Harry Sintonen <sintonen@iki.fi>
Closes #13198

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Mar 17 2022, 5:22 PM
GitHub <noreply@github.com>Committed on Mar 17 2022, 5:22 PM
Parents
rG7b215d93bcc0: Fix module build with -Werror
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG0bebcbcf5e33: get_key_material_https: removed bogus free() call (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Mar 17 2022, 5:22 PM