audioconvert: clean up nodes

This commit is contained in:
Wim Taymans 2019-01-29 11:46:26 +01:00
parent e63adfef25
commit e04560955d

View file

@ -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;
}