diff options
author | Greg Kurz <groug@kaod.org> | 2018-11-27 14:05:51 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-12-21 09:24:23 +1100 |
commit | 30f8ec76309e7b7ce235f4e544553d078a88ce5e (patch) | |
tree | 33845f91d6546e5de30376282c790d830f85e9db /qapi/string-output-visitor.c | |
parent | c4f46986fc856dc1d50d21e2ad617ae845e4ab16 (diff) | |
download | qemu-30f8ec76309e7b7ce235f4e544553d078a88ce5e.zip qemu-30f8ec76309e7b7ce235f4e544553d078a88ce5e.tar.gz qemu-30f8ec76309e7b7ce235f4e544553d078a88ce5e.tar.bz2 |
ppc440_bamboo: 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>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.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