From fde28e81fd65bcdc3d174dfc86a321636b495070 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Dubois Date: Thu, 18 Jun 2009 22:50:14 +0200 Subject: [PATCH] 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(-) diff --git a/audio/paaudio.c b/audio/paaudio.c index ff43bdd..a50fccc 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); -- 2.7.4