ewah: convert to REALLOC_ARRAY, etc
commit08c95df8faa25ab4c9ad3da45bc12abb9274d343
authorJeff King <peff@peff.net>
Mon, 22 Feb 2016 22:45:15 +0000 (22 17:45 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Feb 2016 22:51:09 +0000 (22 14:51 -0800)
tree6f238edb11041a0383ce970b19963c90feaf4db7
parentfb7dbf3e7a668ab60c158d3d1efc77578ef9db1b
ewah: convert to REALLOC_ARRAY, etc

Now that we're built around xmalloc and friends, we can use
helpers like REALLOC_ARRAY, ALLOC_GROW, and so on to make
the code shorter and protect against integer overflow.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ewah/bitmap.c
ewah/ewah_bitmap.c
ewah/ewah_io.c