diff options
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ APIs is not allowed in the QEMU codebase. Instead of these routines, use the replacement g_malloc/g_malloc0/g_realloc/g_free or qemu_vmalloc/qemu_memalign/qemu_vfree APIs. -Please note that NULL check for the qemu_malloc result is redundant and +Please note that NULL check for the g_malloc result is redundant and that g_malloc() call with zero size is not allowed. Memory allocated by qemu_vmalloc or qemu_memalign must be freed with |