mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
examples: Fix a leak
This commit is contained in:
parent
982aee25c6
commit
61a8cbae41
1 changed files with 3 additions and 0 deletions
|
@ -438,5 +438,8 @@ main (int argc, gchar ** argv)
|
|||
|
||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||
|
||||
gst_object_unref (pipeline);
|
||||
gst_object_unref (bus);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue