diff options
author | Greg Kurz <groug@kaod.org> | 2018-11-27 14:05:38 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-12-21 09:24:23 +1100 |
commit | c4f46986fc856dc1d50d21e2ad617ae845e4ab16 (patch) | |
tree | f88c8949abca4bcaf7fe2eb20244774dce2ce853 /qapi/string-output-visitor.c | |
parent | 779db4c7ca4b2aa3902fcfaab0fcb19fc78638e2 (diff) | |
download | qemu-c4f46986fc856dc1d50d21e2ad617ae845e4ab16.zip qemu-c4f46986fc856dc1d50d21e2ad617ae845e4ab16.tar.gz qemu-c4f46986fc856dc1d50d21e2ad617ae845e4ab16.tar.bz2 |
ppc405_uc: use g_new(T, n) instead of g_malloc(sizeof(T) * n)
Because it is a recommended coding practice (see HACKING).
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'qapi/string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions