mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 13:53:19 +00:00
gst-inspect: Fix memory leak
This commit is contained in:
parent
a602d5b3e4
commit
4e108ee92a
1 changed files with 2 additions and 0 deletions
|
@ -1107,6 +1107,7 @@ 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;
|
||||
}
|
||||
|
||||
|
@ -1140,6 +1141,7 @@ print_all_uri_handlers (void)
|
|||
}
|
||||
|
||||
gst_object_unref (element);
|
||||
gst_object_unref (factory);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue