diff options
author | cao <[email protected]> | 2016-08-31 18:35:52 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-09-01 11:39:45 -0700 |
commit | 2d96d7aa56ea4a95206478474b2244be67a71853 (patch) | |
tree | edcf007959e878bbfdff5fbacb95c8f260036af4 /module/zpios | |
parent | ee36c709c3d5f7040e1bd11f5c75318aa03e789f (diff) |
Fix zfs_unmount() and zfs_unshare_proto() leaks
Always free mnpt memory on failure in the zfs_unmount() function.
In the zfs_unshare_proto() function mountpoint is a const and
should not be assigned.
Signed-off-by: cao.xuewen <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #5054
Diffstat (limited to 'module/zpios')
0 files changed, 0 insertions, 0 deletions