examples/gl: unref bus and element after usage
authorSebastian Rasmussen <sebras@hotmail.com>
Sat, 9 Aug 2014 09:45:41 +0000 (11:45 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:45 +0000 (19:31 +0000)
commit06961ea2003d2afc3c194695f3217a2b5b95a92d
treef8c969319daf219499d7001dd027e894aa88dfdb
parent6bbcefe029adbdfdaffd641ee0919287e706a680
examples/gl: unref bus and element after usage

gst_pipeline_get_bus() and gst_bin_get_by_interface() both
return references that need to be unreferenced after usage.

https://bugzilla.gnome.org/show_bug.cgi?id=734527
tests/examples/gl/clutter/clutteractor.c
tests/examples/gl/clutter/clutteractortee.c
tests/examples/gl/gtk/fxtest/fxtest.c