compat/mingw: brown paper bag fix for 50a6c8e
commit8d5b3325e72444d365ded113487d2345c365f6d3
authorJeff King <peff@peff.net>
Mon, 29 Feb 2016 10:02:59 +0000 (29 05:02 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Feb 2016 19:04:23 +0000 (29 11:04 -0800)
tree60f6d84d555c6c3951a165d8543a915d4b9614eb
parent08c95df8faa25ab4c9ad3da45bc12abb9274d343
compat/mingw: brown paper bag fix for 50a6c8e

Commit 50a6c8e (use st_add and st_mult for allocation size
computation, 2016-02-22) fixed up many xmalloc call-sites
including ones in compat/mingw.c.

But I screwed up one of them, which was half-converted to
ALLOC_ARRAY, using a very early prototype of the function.
And I never caught it because I don't build on Windows.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c