projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a9d7ac
)
[SYSDM]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Sun, 2 Oct 2011 19:27:07 +0000
(19:27 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sun, 2 Oct 2011 19:27:07 +0000
(19:27 +0000)
* Revert r53934, this is a false positive from cppcheck. Spotted by Pierre.
svn path=/trunk/; revision=53936
reactos/dll/cpl/sysdm/startrec.c
patch
|
blob
|
history
diff --git
a/reactos/dll/cpl/sysdm/startrec.c
b/reactos/dll/cpl/sysdm/startrec.c
index
dd848c3
..
69e87e9
100644
(file)
--- a/
reactos/dll/cpl/sysdm/startrec.c
+++ b/
reactos/dll/cpl/sysdm/startrec.c
@@
-455,10
+455,7
@@
LoadOSList(HWND hwndDlg, PSTARTINFO pStartInfo)
dwBufSize = GetSystemDrive(&szSystemDrive);
if (dwBufSize == 0)
- {
- HeapFree(GetProcessHeap(), 0, szSystemDrive);
return FALSE;
- }
wcscpy(pStartInfo->szFreeldrIni, szSystemDrive);
wcscat(pStartInfo->szFreeldrIni, L"\\freeldr.ini");