Revert a part of r5087 that didn't need fixing (thanks to malc for spotting)
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 27 Aug 2008 18:43:53 +0000 (18:43 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 27 Aug 2008 18:43:53 +0000 (18:43 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5090 c046a42c-6fe2-441c-8c8c-71466251a162

audio/audio.c

index 5e2d4cf..20bb2fc 100644 (file)
@@ -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;