pad: fix buffer leaks in tests
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 28 Apr 2016 11:56:18 +0000 (14:56 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 2 May 2016 06:54:16 +0000 (09:54 +0300)
commit3146c12a67ac7d1d4a897442dfca8bfb6052033c
treea24b012bfe4392bcd45e5eb9b8950ccec3096b01
parent12a1418f7fb51241738516ba458dc7ddb3ee9239
pad: fix buffer leaks in tests

The buffer received through the pad have to be unreffed using
gst_check_drop_buffers().

https://bugzilla.gnome.org/show_bug.cgi?id=765719
tests/check/gst/gstpad.c