mirror of
https://github.com/reactos/reactos.git
synced 2025-06-13 10:48:32 +00:00
[CMD]
* Plug a leak. CID 1102398
.
CORE-7975
svn path=/trunk/; revision=63653
This commit is contained in:
parent
efbd5b7a32
commit
7b04835c8b
1 changed files with 1 additions and 0 deletions
|
@ -1838,6 +1838,7 @@ int _tmain(int argc, const TCHAR *argv[])
|
||||||
if (!GetConsoleScreenBufferInfo(hConsole, &Info))
|
if (!GetConsoleScreenBufferInfo(hConsole, &Info))
|
||||||
{
|
{
|
||||||
ConErrFormatMessage(GetLastError());
|
ConErrFormatMessage(GetLastError());
|
||||||
|
CloseHandle(hConsole);
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
wDefColor = Info.wAttributes;
|
wDefColor = Info.wAttributes;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue