deviceproviderfactory: fix factory leak
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 2 May 2016 14:00:42 +0000 (16:00 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 3 May 2016 07:49:24 +0000 (10:49 +0300)
commit782bc97e6f340e8c0b9af3750e80b641bd97e71d
tree642b4296d5e3a4c6c0b8946aecb2c42e93bf8315
parentc7bb52934e2e05b391a3c4315b49ab2b9d3b778e
deviceproviderfactory: fix factory leak

The code path when early returning was leaking the extra reference on
the factory.

https://bugzilla.gnome.org/show_bug.cgi?id=765904
gst/gstdeviceproviderfactory.c