diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-25 20:43:37 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-25 20:43:37 +0000 |
commit | ac700bce63c8cc78104ff87d3864d3d656648273 (patch) | |
tree | 7cd3b7b4359f0e5f4adabc8e09b6f462a0d25cd3 /audio | |
parent | 62dd234ff7f9874343f88f5a15118c5d4a40e5e5 (diff) | |
download | qemu-ac700bce63c8cc78104ff87d3864d3d656648273.zip qemu-ac700bce63c8cc78104ff87d3864d3d656648273.tar.gz qemu-ac700bce63c8cc78104ff87d3864d3d656648273.tar.bz2 |
Fix more bugs in r5044
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5087 c046a42c-6fe2-441c-8c8c-71466251a162
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 20bb2fc..5e2d4cf 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; |