Use calloc in qemu_mallocz.
commit50401022d8fbdcdaf84d28e7b813ee94c2d47325
authorRichard Henderson <rth@twiddle.net>
Fri, 21 May 2010 17:37:51 +0000 (21 10:37 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 28 May 2010 21:27:19 +0000 (28 23:27 +0200)
tree1d763f1b80af98c25bbba84fa6986a22b421642a
parent564e2fe8cd63ca6d5413408a1a4f9ee9cf471fff
Use calloc in qemu_mallocz.

Avoids the memset if the allocator has gotten new zeroed
storage from the operating system.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
qemu-malloc.c