aboutsummaryrefslogtreecommitdiff
path: root/audio/audio.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-27 18:43:53 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-27 18:43:53 +0000
commita3772d4d44567ade0c3d44c29bd85911f3004ad1 (patch)
treebac34be08d6f64c8cda802cd605e4cc7529d1290 /audio/audio.c
parent4d5e2b3cc6985cbac40a294aab494d893c8b742b (diff)
Revert a part of r5087 that didn't need fixing (thanks to malc for spotting)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5090 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/audio.c')
-rw-r--r--audio/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio.c b/audio/audio.c
index 5e2d4cfb0f..20bb2fc264 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -205,7 +205,7 @@ static char *audio_alloc_prefix (const char *s)
}
len = strlen (s);
- r = qemu_malloc (len + sizeof (qemu_prefix) + 1);
+ r = qemu_malloc (len + sizeof (qemu_prefix));
if (r) {
size_t i;