OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f155d
)
fix qemu_alloc/qemu_free for audio subsystem
author
Jean-Christophe Dubois
<jcd@jcd-laptop.(none)>
Thu, 18 Jun 2009 20:50:14 +0000
(22:50 +0200)
committer
malc
<av1474@comtv.ru>
Thu, 18 Jun 2009 22:46:14 +0000
(
02:46
+0400)
Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
audio/paaudio.c
patch
|
blob
|
history
diff --git
a/audio/paaudio.c
b/audio/paaudio.c
index
ff43bdd
..
a50fccc
100644
(file)
--- 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);