cao 2d96d7aa56 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 <cao.xuewen@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #5054
2016-09-01 11:39:45 -07:00
..
2014-08-28 07:59:43 -07:00
2016-08-11 11:23:49 -07:00
2014-08-28 07:59:43 -07:00
2013-12-18 16:46:35 -08:00
2014-08-28 07:59:43 -07:00
2016-06-16 13:53:15 -07:00