mirror of
https://github.com/reactos/reactos.git
synced 2024-09-27 21:16:34 +00:00
[CMD]
* Plug a leak. CID 1102398
.
CORE-7975
svn path=/trunk/; revision=63653
This commit is contained in:
parent
efbd5b7a32
commit
7b04835c8b
|
@ -1838,6 +1838,7 @@ int _tmain(int argc, const TCHAR *argv[])
|
|||
if (!GetConsoleScreenBufferInfo(hConsole, &Info))
|
||||
{
|
||||
ConErrFormatMessage(GetLastError());
|
||||
CloseHandle(hConsole);
|
||||
return(1);
|
||||
}
|
||||
wDefColor = Info.wAttributes;
|
||||
|
|
Loading…
Reference in a new issue