summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/time-smoother.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-10-27 12:58:54 +0000
committerLennart Poettering <lennart@poettering.net>2007-10-27 12:58:54 +0000
commitc4d9a2bf858e1603649352fce0551cbdcbfaad0c (patch)
tree5cd994004d9786aaf1f9cca73cf870670394527c /src/pulsecore/time-smoother.c
parentb4bb747ba70caf2675c61c7d93e700adae28e209 (diff)
add missing pa_smoother destructor
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1956 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/time-smoother.c')
-rw-r--r--src/pulsecore/time-smoother.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pulsecore/time-smoother.c b/src/pulsecore/time-smoother.c
index 0b3594a3..f8d2f912 100644
--- a/src/pulsecore/time-smoother.c
+++ b/src/pulsecore/time-smoother.c
@@ -108,6 +108,12 @@ pa_smoother* pa_smoother_new(pa_usec_t adjust_time, pa_usec_t history_time, pa_b
return s;
}
+void pa_smoother_free(pa_smoother* s) {
+ pa_assert(s);
+
+ pa_xfree(s);
+}
+
static void drop_old(pa_smoother *s, pa_usec_t x) {
unsigned j;