aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorVolker Rümelin <vr_qemu@t-online.de>2023-01-21 10:47:32 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-03-06 10:30:23 +0400
commitc6b69a814a2dd9f8da08d55f36ed73597ee0c612 (patch)
treeb8c9920abcdacc2b24d1f3eeafef5f281abfdf69 /hmp-commands.hx
parent3724ab3b34ff3430f315272429188a1b3dfdd247 (diff)
audio/audio_template: use g_new0() to replace audio_calloc()
Replace audio_calloc() with the equivalent g_new0(). With a n_structs argument >= 1, g_new0() never returns NULL. Also remove the unnecessary NULL checks. Signed-off-by: Volker Rümelin <vr_qemu@t-online.de> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20230121094735.11644-8-vr_qemu@t-online.de>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions