projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ff9c737
)
[SC] Don't leak service status info on success
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 14 Apr 2018 13:38:12 +0000
(15:38 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 14 Apr 2018 13:40:26 +0000
(15:40 +0200)
CID
1434266
base/applications/sc/query.c
patch
|
blob
|
history
diff --git
a/base/applications/sc/query.c
b/base/applications/sc/query.c
index
87b2468
..
37ab700
100644
(file)
--- a/
base/applications/sc/query.c
+++ b/
base/applications/sc/query.c
@@
-350,6
+350,8
@@
Query(LPCTSTR *ServiceArgs,
NULL,
pStatus,
bExtended);
NULL,
pStatus,
bExtended);
+
+ HeapFree(GetProcessHeap(), 0, pStatus);
}
}
else
}
}
else