From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> Release resampler on exit. --- android/hal-sco.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/hal-sco.c b/android/hal-sco.c index 42267e0..943a541 100644 --- a/android/hal-sco.c +++ b/android/hal-sco.c @@ -729,8 +729,10 @@ static void sco_close_output_stream(struct audio_hw_device *dev, close_sco_socket(); - if (out->resampler) + if (out->resampler) { release_resampler(out->resampler); + free(out->resample_buf); + } free(out->cache); free(out->downmix_buf); -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html