diff options
| author | Markus Armbruster <armbru@redhat.com> | 2014-08-20 20:38:11 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2014-09-29 19:44:04 +0300 |
| commit | 8ce3c44c925982d834a8200ee0c9c00a7e9db20e (patch) | |
| tree | d222de64d89b7497571cf154bac482b0b12cef91 /qemu-file-unix.c | |
| parent | ed9114356b587b362f5ed10e75366a4f07ed32af (diff) | |
| download | focaccia-qemu-8ce3c44c925982d834a8200ee0c9c00a7e9db20e.tar.gz focaccia-qemu-8ce3c44c925982d834a8200ee0c9c00a7e9db20e.zip | |
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 <armbru@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qemu-file-unix.c')
0 files changed, 0 insertions, 0 deletions