summaryrefslogtreecommitdiffstats
path: root/audio/audio_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audio_hw.c')
-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;