mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
examples: fix element leak in volume example
This commit is contained in:
parent
fc3a07c6a6
commit
f37bae7b88
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ main (int argc, char *argv[])
|
||||||
g_timeout_add (100, progress_update, pipeline);
|
g_timeout_add (100, progress_update, pipeline);
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||||
|
gst_object_unref (volume);
|
||||||
gst_object_unref (pipeline);
|
gst_object_unref (pipeline);
|
||||||
gst_object_unref (bus);
|
gst_object_unref (bus);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue