Fixed a memory leak when user mapping is not activated

N2009_11_14_FIXES
jpandre 2007-11-29 11:17:42 +00:00
parent d78230bb7f
commit 3284b3fd4a
1 changed files with 1 additions and 0 deletions

View File

@ -3825,6 +3825,7 @@ static le32 build_inherited_id(struct SECURITY_CONTEXT *scx,
pos += usidsz;
securid = setsecurityattr(scx->vol,
(SECURITY_DESCRIPTOR_RELATIVE*)newattr, pos);
free(newattr);
} else
securid = cpu_to_le32(0);
return (securid);