[SC] Don't leak service status info on success

CID 1434266
This commit is contained in:
Pierre Schweitzer 2018-04-14 15:38:12 +02:00
parent ff9c737acc
commit fd87f0ad87
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -350,6 +350,8 @@ Query(LPCTSTR *ServiceArgs,
NULL,
pStatus,
bExtended);
HeapFree(GetProcessHeap(), 0, pStatus);
}
}
else