HomeFreeBSD

Fix zdb crash

Description

Fix zdb crash

We have to use umem_free() instead of free() if we are using
umem_zalloc()

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Igor Kozhukhov <igor@dilos.org>
Closes #8402

Details

Provenance
Igor K <igor@dilos.org>Authored on Feb 19 2019, 7:15 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 19 2019, 7:15 PM
Parents
rG435637d1ed9a: ZTS: user_property_002_pos fails to destroy volume
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG790c880e8c17: Fix zdb crash (authored by Igor K <igor@dilos.org>).Feb 19 2019, 7:15 PM