Commit 8bcf183c authored by Wim Taymans's avatar Wim Taymans

audioconvert: clear convert object

parent 559fd76d
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment