pvrvideosink: Avoid leaking bufferpool configuration
authorSebastian Rasmussen <sebras@hotmail.com>
Sat, 9 Aug 2014 11:24:00 +0000 (13:24 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 11 Aug 2014 06:49:49 +0000 (08:49 +0200)
commit84f6600fcd0cbf123852406f37d319d5d738abef
tree2c6a7ffafdc93879eb86f3b40981b400d24a794b
parente23ba8498e5c4e570640233d04a5197732f2638f
pvrvideosink: Avoid leaking bufferpool configuration

gst_buffer_pool_get_config() returns a copy to the bufferpool's
configuration, which must be passed to gst_structure_free() after
use if not given away to gst_buffer_pool_set_config().

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734537
sys/pvr2d/gstpvrvideosink.c