harness: Unset sink_forward_pad before tearing down sink_harness
authorStian Selnes <stian@pexip.com>
Tue, 8 Dec 2015 13:18:21 +0000 (14:18 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 12 Feb 2016 10:17:31 +0000 (10:17 +0000)
commitdc4a3b71f09ed4de523f564d9a43c47d66b9e0ab
tree13bef2eb7faafc466138a753e2b2a19f3f4cc957
parented583832a18cfaf9ed2da7cfb00d5b8b981e1d6e
harness: Unset sink_forward_pad before tearing down sink_harness

Set the sink_forward_pad to NULL before tearing down sink_harness to
avoid that the harness tries to forward events/queries to it while it's
tearing down.

https://bugzilla.gnome.org/show_bug.cgi?id=761904
libs/gst/check/gstharness.c