Skip to content

Commit

Permalink
vfs_fruit: Unlink memory on error
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Schneider <[email protected]>
Reviewed-by: Ralph Boehme <[email protected]>
  • Loading branch information
cryptomilk authored and slowfranklin committed Nov 13, 2017
1 parent ad82557 commit 142f778
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source3/modules/vfs_fruit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,7 @@ static int ad_convert(struct adouble *ad,

ok = ad_convert_xattr(ad, smb_fname, map);
if (!ok) {
munmap(map, origlen);
return -1;
}

Expand Down

0 comments on commit 142f778

Please sign in to comment.