discoverer: Do not try to unref the bus if it has not been set yet
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Tue, 15 Nov 2016 18:12:12 +0000 (15:12 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Tue, 15 Nov 2016 18:22:45 +0000 (15:22 -0300)
commit0c0dfbd45521498b8242150f35f568695ea034d1
tree49dfe4ce77839aa4f86f92cc2f819b4a78758833
parentf1562053fee1ef8f267f0bc22247fe3b8443caca
discoverer: Do not try to unref the bus if it has not been set yet

It might happen if creation of the discoverer failed
gst-libs/gst/pbutils/gstdiscoverer.c