diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio.c b/audio/audio.c index 20bb2fc264..5e2d4cfb0f 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)); + r = qemu_malloc (len + sizeof (qemu_prefix) + 1); if (r) { size_t i; |