autoconvert: Remove uneeded if()

NULL is valid GList
This commit is contained in:
Olivier Crête 2014-05-07 19:47:04 -04:00
parent b76e564acf
commit 968b4a4969

View file

@ -219,10 +219,8 @@ gst_auto_convert_dispose (GObject * object)
autoconvert->current_internal_srcpad = NULL; autoconvert->current_internal_srcpad = NULL;
} }
if (autoconvert->factories) { gst_plugin_feature_list_free (autoconvert->factories);
gst_plugin_feature_list_free (autoconvert->factories); autoconvert->factories = NULL;
autoconvert->factories = NULL;
}
GST_AUTOCONVERT_UNLOCK (autoconvert); GST_AUTOCONVERT_UNLOCK (autoconvert);
G_OBJECT_CLASS (gst_auto_convert_parent_class)->dispose (object); G_OBJECT_CLASS (gst_auto_convert_parent_class)->dispose (object);