diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-01-28 15:54:01 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-02-10 09:27:20 +0300 |
commit | 96c044afdf600e9418b3e509e60ef51a841eed20 (patch) | |
tree | 5edde5037bc46994894d110d1d64e1b6d7f324bb /util/osdep.c | |
parent | b41112c46b93f781669c0eb89e51d3a87af6bb49 (diff) | |
download | hqemu-96c044afdf600e9418b3e509e60ef51a841eed20.zip hqemu-96c044afdf600e9418b3e509e60ef51a841eed20.tar.gz |
qemu-option: Replace pointless use of g_malloc0() by g_malloc()
get_opt_value() takes a write-only buffer, so zeroing it is pointless.
We don't do it elsewhere, either.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'util/osdep.c')
0 files changed, 0 insertions, 0 deletions