diff options
author | Jean-Christophe Dubois <jcd@jcd-laptop.(none)> | 2009-06-18 22:50:14 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-06-19 02:46:14 +0400 |
commit | 5d928867920e27d61d581710aac3a167c9e86e4f (patch) | |
tree | 6ef2ce97e9c5fbfbc059265c889e9d05f5742cf8 /audio | |
parent | 97f155ddb79b9a270585d370f1581683334d8b9b (diff) | |
download | qemu-5d928867920e27d61d581710aac3a167c9e86e4f.tar.gz qemu-5d928867920e27d61d581710aac3a167c9e86e4f.tar.bz2 qemu-5d928867920e27d61d581710aac3a167c9e86e4f.zip |
fix qemu_alloc/qemu_free for audio subsystem
Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/paaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |