examples: fix element leak in volume example
This commit is contained in:
parent
fc3a07c6a6
commit
f37bae7b88
@ -186,6 +186,7 @@ main (int argc, char *argv[])
|
||||
g_timeout_add (100, progress_update, pipeline);
|
||||
gtk_main ();
|
||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||
gst_object_unref (volume);
|
||||
gst_object_unref (pipeline);
|
||||
gst_object_unref (bus);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user