Removed incorrect free() call.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 14 Sep 2011 12:23:20 -0400
changeset 516675a11e697c6
parent 515 37d0e89f13a7
child 517 db215583bdcb
Removed incorrect free() call.

Thanks to Leyland Needham for pointing this out!
mixer.c
     1.1 --- a/mixer.c	Thu Sep 08 15:06:15 2011 -0400
     1.2 +++ b/mixer.c	Wed Sep 14 12:23:20 2011 -0400
     1.3 @@ -651,7 +651,7 @@
     1.4  	chunk->abuf = wavecvt.buf;
     1.5  	chunk->alen = wavecvt.len_cvt;
     1.6  	chunk->volume = MIX_MAX_VOLUME;
     1.7 -	free(wavecvt.buf);
     1.8 +
     1.9  	return(chunk);
    1.10  }
    1.11