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Ƅska <nabijaczleweli@nabijaczleweli.xyz>
Co-authored-by: Harry Sintonen <sintonen@iki.fi>
Signed-off-by: Harry Sintonen <sintonen@iki.fi>
Closes #13198

Details

Provenance
Harry Sintonen <github-piru@kyber.fi>Authored on Mar 13 2022, 8:15 PM
GitHub <noreply@github.com>Committed on Mar 13 2022, 8:15 PM
Parents
rG76bcffb7dc7e: libzfs: FreeBSD doesn't resize partitions for you
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGebcf12f76313: get_key_material_https: removed bogus free() call (authored by Harry Sintonen <github-piru@kyber.fi>).Mar 13 2022, 8:15 PM