makefs: Fix handling of inherited mountpoints
Commit d7eec79b7021 overlooked the fact that
nvlist_find(DATA_TYPE_STRING) does not provide a nul-terminated string.
Fix the leak a different way.
Fixes: d7eec79b7021 ("makefs: Plug a memory leak")
makefs: Fix handling of inherited mountpoints Tags None Referenced Files None Subscribers None
Description
Details
|