* Plug a leak. CID 1102398.
CORE-7975

svn path=/trunk/; revision=63653
This commit is contained in:
Amine Khaldi 2014-06-28 09:59:58 +00:00
parent efbd5b7a32
commit 7b04835c8b

View file

@ -1838,6 +1838,7 @@ int _tmain(int argc, const TCHAR *argv[])
if (!GetConsoleScreenBufferInfo(hConsole, &Info))
{
ConErrFormatMessage(GetLastError());
CloseHandle(hConsole);
return(1);
}
wDefColor = Info.wAttributes;