Diff between d081491bb21f304ad59fec23e9a06ec5c2851a80 and 979486f091c765d0ba5a96f5499f2a8b156faa22
Changed Files
| File | Additions | Deletions | Status |
| android/hal-sco.c | +3 | -1 | modified |
Full Patch
diff --git a/android/hal-sco.c b/android/hal-sco.c
index e084c31..a3fb710 100644
--- a/android/hal-sco.c
+++ b/android/hal-sco.c
@@ -731,8 +731,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);