diff options
Diffstat (limited to 'bitmap.h')
| -rw-r--r-- | bitmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitmap.h b/bitmap.h index efd5d3a1ed..08755eba11 100644 --- a/bitmap.h +++ b/bitmap.h @@ -91,7 +91,7 @@ int slow_bitmap_intersects(const unsigned long *bitmap1, static inline unsigned long *bitmap_new(int nbits) { int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); - return qemu_mallocz(len); + return g_malloc0(len); } static inline void bitmap_zero(unsigned long *dst, int nbits) |