mirror_zfs/lib/libzutil/os
Richard Yao fcd7293d4e
Remove incorrect free() in zfs_get_pci_slots_sys_path()
Coverity found this. We attempted to free tmp, which is a pointer to a
string that should be freed by the caller.

Reviewed-by: Neal Gompa <ngompa@datto.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #13864
2022-09-13 17:00:53 -07:00
..
freebsd Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
linux Remove incorrect free() in zfs_get_pci_slots_sys_path() 2022-09-13 17:00:53 -07:00