mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
autoconvert: Remove uneeded if()
NULL is valid GList
This commit is contained in:
parent
b76e564acf
commit
968b4a4969
1 changed files with 2 additions and 4 deletions
|
@ -219,10 +219,8 @@ gst_auto_convert_dispose (GObject * object)
|
|||
autoconvert->current_internal_srcpad = NULL;
|
||||
}
|
||||
|
||||
if (autoconvert->factories) {
|
||||
gst_plugin_feature_list_free (autoconvert->factories);
|
||||
autoconvert->factories = NULL;
|
||||
}
|
||||
gst_plugin_feature_list_free (autoconvert->factories);
|
||||
autoconvert->factories = NULL;
|
||||
GST_AUTOCONVERT_UNLOCK (autoconvert);
|
||||
|
||||
G_OBJECT_CLASS (gst_auto_convert_parent_class)->dispose (object);
|
||||
|
|
Loading…
Reference in a new issue