Use calloc in qemu_mallocz.
Avoids the memset if the allocator has gotten new zeroed storage from the operating system. Signed-off-by: NRichard Henderson <rth@twiddle.net> Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
Showing
想要评论请 注册 或 登录