From 5d928867920e27d61d581710aac3a167c9e86e4f Mon Sep 17 00:00:00 2001 From: Jean-Christophe Dubois Date: Thu, 18 Jun 2009 22:50:14 +0200 Subject: fix qemu_alloc/qemu_free for audio subsystem Signed-off-by: Jean-Christophe DUBOIS --- audio/paaudio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/paaudio.c') diff --git a/audio/paaudio.c b/audio/paaudio.c index ff43bdd1f1..a50fccc37f 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -340,7 +340,7 @@ static int qpa_init_out (HWVoiceOut *hw, struct audsettings *as) return 0; fail3: - free (pa->pcm_buf); + qemu_free (pa->pcm_buf); pa->pcm_buf = NULL; fail2: pa_simple_free (pa->s); @@ -394,7 +394,7 @@ static int qpa_init_in (HWVoiceIn *hw, struct audsettings *as) return 0; fail3: - free (pa->pcm_buf); + qemu_free (pa->pcm_buf); pa->pcm_buf = NULL; fail2: pa_simple_free (pa->s); -- cgit v1.2.1