From 58a06675d39955e80154c36cff5113bb30e078a7 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 21 Aug 2011 18:42:08 +0000 Subject: Convert last qemu_free and qemu_malloc uses 7267c0947d7e8ae5dff7bafd932c3bc285f43e5c missed a few cases, fix them. Signed-off-by: Blue Swirl --- HACKING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'HACKING') diff --git a/HACKING b/HACKING index 5b4ae1065..733eab2da 100644 --- a/HACKING +++ b/HACKING @@ -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 -- cgit v1.2.3