dvbsuboverlay: Avoid leaking copy of caps object
authorSebastian Rasmussen <sebras@hotmail.com>
Sat, 9 Aug 2014 11:09:52 +0000 (13:09 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 10 Aug 2014 10:56:56 +0000 (11:56 +0100)
commit128cbf4f575ed66f8b177b02cf91740fb7e8043a
tree7f4ac680fb3759dd27f471a7ea0beb40fe746155
parentee09d332bdb7bb3ed18589492d9838a8af9000ea
dvbsuboverlay: Avoid leaking copy of caps object

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734528
gst/dvbsuboverlay/gstdvbsuboverlay.c