wrappercamerabinsrc: fix pad leak
authorThiago Santos <thiagoss@osg.samsung.com>
Sat, 14 Mar 2015 11:45:20 +0000 (11:45 +0000)
committerThiago Santos <thiagoss@osg.samsung.com>
Sat, 14 Mar 2015 18:29:28 +0000 (18:29 +0000)
commit5c20c2e2113ed8d11e829f5744284ff647d48aa0
treec190d6ea6a3c0d624aa11f8e18dd9d15772b4fd4
parent199f9bd194ec4c367b5c8aafa95f8336539e6955
wrappercamerabinsrc: fix pad leak

Only get the pad if it is really going to be used to avoid
leaking it
gst/camerabin2/gstwrappercamerabinsrc.c