test: fix leak in video overlay composition unit test
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 25 Mar 2012 12:35:23 +0000 (13:35 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 21 Dec 2012 14:32:11 +0000 (15:32 +0100)
commit299e498b1c690e10afeada54e2ec250cdd40f79e
treee481e65a198adfd508ec04ea7f2ef9cb9014068b
parente90960e3e0fb68927031a158e748e0805a6a871b
test: fix leak in video overlay composition unit test

gst_buffer_set_qdata() will leak the structure passed to it
when called incorrectly (e.g. on a non-metadata-writable buffer).
This is expected, but we must avoid doing that in valgrind.
tests/check/libs/video.c