HomeFreeBSD

makefs: Fix memory leaks in dsl_dir_finalize_props()

Description

makefs: Fix memory leaks in dsl_dir_finalize_props()

nvstring_get() returns a copy of the string, not a pointer into the
nvlist's internal buffer.

Reported by: Coverity
Fixes: 240afd8c1fcc ("makefs: Add ZFS support")
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Aug 11 2022, 2:18 PM
Parents
rG69077c81e594: routing: fix non-debug build
Branches
Unknown
Tags
Unknown