qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 5d92886] fix qemu_alloc/qemu_free for audio subsy


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 5d92886] fix qemu_alloc/qemu_free for audio subsystem
Date: Thu, 18 Jun 2009 22:49:23 -0000

From: Jean-Christophe Dubois <address@hidden(none)>

Signed-off-by: Jean-Christophe DUBOIS <address@hidden>

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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]