Commit a3772d4d44567ade0c3d44c29bd85911f3004ad1
1 parent
4d5e2b3c
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
Showing
1 changed file
with
1 additions
and
1 deletions
audio/audio.c
| @@ -205,7 +205,7 @@ static char *audio_alloc_prefix (const char *s) | @@ -205,7 +205,7 @@ static char *audio_alloc_prefix (const char *s) | ||
| 205 | } | 205 | } |
| 206 | 206 | ||
| 207 | len = strlen (s); | 207 | len = strlen (s); |
| 208 | - r = qemu_malloc (len + sizeof (qemu_prefix) + 1); | 208 | + r = qemu_malloc (len + sizeof (qemu_prefix)); |
| 209 | 209 | ||
| 210 | if (r) { | 210 | if (r) { |
| 211 | size_t i; | 211 | size_t i; |