aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;