aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libshare/smb.h
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2016-12-19 09:46:29 -0800
committerBrian Behlendorf <[email protected]>2016-12-19 09:46:29 -0800
commit6c01a4af2b5466fbdceba7304fa8b0dfb0dac839 (patch)
treebe0fce29c164bb4f75673306796529c66d25d511 /lib/libshare/smb.h
parent1528bfdb148b44eaa0522109fee1ab61f4f3214b (diff)
Fix zmo leak when zfs_sb_create fails
zfs_sb_create would normally takes ownership of zmo, and it will be freed in zfs_sb_free. However, when zfs_sb_create fails we need to explicit free it. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Chunwei Chen <[email protected]> Closes #5490 Closes #5496
Diffstat (limited to 'lib/libshare/smb.h')
0 files changed, 0 insertions, 0 deletions