mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
gst-inspect: Don't unref plugin features multiple times
gst_plugin_feature_list_free() unrefs them too.
This commit is contained in:
parent
6ba3e11c90
commit
a602d5b3e4
1 changed files with 0 additions and 3 deletions
|
@ -1107,7 +1107,6 @@ print_all_uri_handlers (void)
|
|||
if (!element) {
|
||||
g_print ("couldn't construct element for %s for some reason\n",
|
||||
GST_OBJECT_NAME (factory));
|
||||
gst_object_unref (factory);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -1141,7 +1140,6 @@ print_all_uri_handlers (void)
|
|||
}
|
||||
|
||||
gst_object_unref (element);
|
||||
gst_object_unref (factory);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1245,7 +1243,6 @@ print_plugin_features (GstPlugin * plugin)
|
|||
num_other++;
|
||||
}
|
||||
num_features++;
|
||||
gst_object_unref (feature);
|
||||
features = g_list_next (features);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue