diff options
author | Eric Laurent <elaurent@google.com> | 2011-12-13 10:48:32 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-12-13 10:48:32 -0800 |
commit | af5a1479a99be168381d9a79c1aabd42915574a9 (patch) | |
tree | a471f94549db86ce3b56dcdf724ff36663aa5b49 /audio | |
parent | 3cc3a271f5ca5e1e48c3d6725c06487fc8526a14 (diff) | |
parent | 620c8ad611fee5de98f778514c0418c1f48903e5 (diff) | |
download | device_samsung_tuna-af5a1479a99be168381d9a79c1aabd42915574a9.zip device_samsung_tuna-af5a1479a99be168381d9a79c1aabd42915574a9.tar.gz device_samsung_tuna-af5a1479a99be168381d9a79c1aabd42915574a9.tar.bz2 |
am 31688e73: am 7a170e19: audio HAL: release audio pre processing buffers.
* commit '620c8ad611fee5de98f778514c0418c1f48903e5':
audio HAL: release audio pre processing buffers.
Diffstat (limited to 'audio')
-rwxr-xr-x | audio/audio_hw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index c07caba..1488db8 100755 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -2456,6 +2456,10 @@ static void adev_close_input_stream(struct audio_hw_device *dev, free(in->buffer); release_resampler(in->resampler); } + if (in->proc_buf) + free(in->proc_buf); + if (in->ref_buf) + free(in->ref_buf); free(stream); return; |