attrib: Fixed an allocation size (Coverity).
This commit is contained in:
parent
0c9ce583bc
commit
7c8c90abbb
|
@ -68,7 +68,7 @@ static int __cdecl ATTRIB_wprintf(const WCHAR *format, ...)
|
|||
*/
|
||||
|
||||
if (!output_bufW) output_bufW = HeapAlloc(GetProcessHeap(), 0,
|
||||
MAX_WRITECONSOLE_SIZE);
|
||||
MAX_WRITECONSOLE_SIZE*sizeof(WCHAR));
|
||||
if (!output_bufW) {
|
||||
WINE_FIXME("Out of memory - could not allocate 2 x 64K buffers\n");
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue