summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-12-13 10:48:32 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-12-13 10:48:32 -0800
commitaf5a1479a99be168381d9a79c1aabd42915574a9 (patch)
treea471f94549db86ce3b56dcdf724ff36663aa5b49 /audio
parent3cc3a271f5ca5e1e48c3d6725c06487fc8526a14 (diff)
parent620c8ad611fee5de98f778514c0418c1f48903e5 (diff)
downloaddevice_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-xaudio/audio_hw.c4
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;