Diff for /qemu/HACKING between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2018/04/24 19:17:42 version 1.1.1.4, 2018/04/24 19:35:01
Line 77  avoided. Line 77  avoided.
   
 Use of the malloc/free/realloc/calloc/valloc/memalign/posix_memalign  Use of the malloc/free/realloc/calloc/valloc/memalign/posix_memalign
 APIs is not allowed in the QEMU codebase. Instead of these routines,  APIs is not allowed in the QEMU codebase. Instead of these routines,
 use the replacement g_malloc/g_malloc0/g_realloc/g_free or  use the GLib memory allocation routines g_malloc/g_malloc0/g_new/
 qemu_vmalloc/qemu_memalign/qemu_vfree APIs.  g_new0/g_realloc/g_free or QEMU's qemu_vmalloc/qemu_memalign/qemu_vfree
   APIs.
 Please note that NULL check for the g_malloc result is redundant and  
 that g_malloc() call with zero size is not allowed.  Please note that g_malloc will exit on allocation failure, so there
   is no need to test for failure (as you would have to with malloc).
   Calling g_malloc with a zero size is valid and will return NULL.
   
 Memory allocated by qemu_vmalloc or qemu_memalign must be freed with  Memory allocated by qemu_vmalloc or qemu_memalign must be freed with
 qemu_vfree, since breaking this will cause problems on Win32 and user  qemu_vfree, since breaking this will cause problems on Win32 and user

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


unix.superglobalmegacorp.com