/* Clear the buffers to prepare for the new samples */
if (ch->index < 8) {
- g_array_free(data_low_channels, FALSE);
+ g_array_free(data_low_channels, TRUE);
data_low_channels = g_array_new(FALSE, FALSE, sizeof(uint8_t));
} else {
- g_array_free(data_high_channels, FALSE);
+ g_array_free(data_high_channels, TRUE);
data_high_channels = g_array_new(FALSE, FALSE, sizeof(uint8_t));
}