deinterlace: fix caps leak
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 17 May 2016 10:40:38 +0000 (13:40 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 20 May 2016 06:36:09 +0000 (09:36 +0300)
commit47a358783e5a7a04733a46b14fdf561750815309
treec79497282db3cecb7c5254bd6fb450637b2c2505
parentee7e80d615a718fd9c37be06b26cc3b7a43c2997
deinterlace: fix caps leak

The caps returned by gst_pad_get_current_caps() was never unreffed when
not early returning.

Fix a leak with the elements/deinterlace test.

https://bugzilla.gnome.org/show_bug.cgi?id=766558
gst/deinterlace/gstdeinterlace.c