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