mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
advapi32: Free descriptor if it isn't returned from GetSecurityInfo().
This commit is contained in:
parent
b4c6433063
commit
dbd76575ef
@ -3118,6 +3118,8 @@ DWORD WINAPI GetSecurityInfo(
|
||||
}
|
||||
if (ppSecurityDescriptor)
|
||||
*ppSecurityDescriptor = sd;
|
||||
else
|
||||
LocalFree(sd);
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user