mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[SC] Don't leak service status info on success
CID 1434266
This commit is contained in:
parent
ff9c737acc
commit
fd87f0ad87
1 changed files with 2 additions and 0 deletions
|
@ -350,6 +350,8 @@ Query(LPCTSTR *ServiceArgs,
|
|||
NULL,
|
||||
pStatus,
|
||||
bExtended);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, pStatus);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue