fix bug in free()ing of output arrays
This commit is contained in:
parent
8806494551
commit
2c718a26fc
@ -698,7 +698,7 @@ FLAC__bool allocate_output_(FLAC__StreamDecoder *decoder, unsigned size, unsigne
|
||||
|
||||
for(i = 0; i < FLAC__MAX_CHANNELS; i++) {
|
||||
if(0 != decoder->private_->output[i]) {
|
||||
free(decoder->private_->output[i]);
|
||||
free(decoder->private_->output[i]-4);
|
||||
decoder->private_->output[i] = 0;
|
||||
}
|
||||
if(0 != decoder->private_->residual[i]) {
|
||||
|
Loading…
Reference in New Issue
Block a user