Fix double-free.

This commit is contained in:
Christopher Snowhill 2017-09-30 15:15:15 -07:00
parent bcfe417ab6
commit 1da9d0887a

View File

@ -170,8 +170,6 @@ static void find_hca_key(hca_codec_data * hca_data, clHCA * hca, uint8_t * buffe
// break;
}
if (testbuf) free(testbuf);
/* reset HCA */
hca_data->curblock = 0;
hca_data->sample_ptr = clHCA_samplesPerBlock;