mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
audioconvert: clear convert object
This commit is contained in:
parent
559fd76d7d
commit
8bcf183c7f
1 changed files with 3 additions and 1 deletions
|
@ -198,8 +198,10 @@ gst_audio_convert_dispose (GObject * obj)
|
|||
{
|
||||
GstAudioConvert *this = GST_AUDIO_CONVERT (obj);
|
||||
|
||||
if (this->convert)
|
||||
if (this->convert) {
|
||||
gst_audio_converter_free (this->convert);
|
||||
this->convert = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (obj);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue