mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-06 14:44:25 +01:00
Fix double-free.
This commit is contained in:
parent
bcfe417ab6
commit
1da9d0887a
@ -170,8 +170,6 @@ static void find_hca_key(hca_codec_data * hca_data, clHCA * hca, uint8_t * buffe
|
|||||||
// break;
|
// break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (testbuf) free(testbuf);
|
|
||||||
|
|
||||||
/* reset HCA */
|
/* reset HCA */
|
||||||
hca_data->curblock = 0;
|
hca_data->curblock = 0;
|
||||||
hca_data->sample_ptr = clHCA_samplesPerBlock;
|
hca_data->sample_ptr = clHCA_samplesPerBlock;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user