]> Git Repo - qemu.git/commit
loader: g_realloc(p, 0) frees and returns NULL, simplify
authorMarkus Armbruster <[email protected]>
Wed, 20 Aug 2014 18:38:11 +0000 (20:38 +0200)
committerMichael S. Tsirkin <[email protected]>
Mon, 29 Sep 2014 16:44:04 +0000 (19:44 +0300)
commit8ce3c44c925982d834a8200ee0c9c00a7e9db20e
treed222de64d89b7497571cf154bac482b0b12cef91
parented9114356b587b362f5ed10e75366a4f07ed32af
loader: g_realloc(p, 0) frees and returns NULL, simplify

Once upon a time, it was decided that qemu_realloc(ptr, 0) should
abort.  Switching to glib retired that bright idea.  A bit of code
that was added to cope with it (commit 3e372cf) is still around.  Bury
it.

See also commit 6528499.

Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
include/hw/elf_ops.h
This page took 0.025112 seconds and 4 git commands to generate.