diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-08-21 18:42:08 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-08-21 18:42:08 +0000 |
commit | 58a06675d39955e80154c36cff5113bb30e078a7 (patch) | |
tree | 97a6a32528ffecad1608bc550c2508dcc4334577 /HACKING | |
parent | c76c8416be5631dfdbd13799d3c67ad670637155 (diff) |
Convert last qemu_free and qemu_malloc uses
7267c0947d7e8ae5dff7bafd932c3bc285f43e5c missed
a few cases, fix them.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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 |