mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
pluginfeature: Fix object leak
Need to release GstPluginFeature object after use Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1534>
This commit is contained in:
parent
f263bdcb2b
commit
ba873ba8b9
1 changed files with 1 additions and 0 deletions
|
@ -489,6 +489,7 @@ _priv_gst_plugin_feature_rank_initialize (void)
|
|||
if (feature) {
|
||||
gst_plugin_feature_set_rank (feature, rank);
|
||||
GST_DEBUG ("Update rank of plugin feature \"%s\" to %d", str, rank);
|
||||
gst_object_unref (feature);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue