mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 05:32:55 +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,
|
NULL,
|
||||||
pStatus,
|
pStatus,
|
||||||
bExtended);
|
bExtended);
|
||||||
|
|
||||||
|
HeapFree(GetProcessHeap(), 0, pStatus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue