From e04560955d1b2224f1ef3f44349acc1abd35a9d1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 29 Jan 2019 11:46:26 +0100 Subject: [PATCH] audioconvert: clean up nodes --- spa/plugins/audioconvert/audioconvert.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spa/plugins/audioconvert/audioconvert.c b/spa/plugins/audioconvert/audioconvert.c index 9084875d6..d27fb6fa8 100644 --- a/spa/plugins/audioconvert/audioconvert.c +++ b/spa/plugins/audioconvert/audioconvert.c @@ -936,6 +936,12 @@ static int impl_clear(struct spa_handle *handle) this = (struct impl *) handle; clean_convert(this); + + spa_handle_clear(this->hnd_fmt[SPA_DIRECTION_INPUT]); + spa_handle_clear(this->hnd_channelmix); + spa_handle_clear(this->hnd_resample); + spa_handle_clear(this->hnd_fmt[SPA_DIRECTION_OUTPUT]); + return 0; }