check: Call gst_task_cleanup_all() in GST_END_TEST
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 8 Aug 2009 20:27:06 +0000 (22:27 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 8 Aug 2009 20:29:03 +0000 (22:29 +0200)
commitd465851cb7dd6ffb7deab23e21ae1d08342640cd
treec4d9555f7c66520ea32bc6e125ff7d80769c6910
parent8eb9d556273f2113833aa6b2c1af93caaa5e75be
check: Call gst_task_cleanup_all() in GST_END_TEST

This fixes many unit tests under valgrind that shows
leaking GstTasks that are not really leaked but just
not unreffed by the task thread before the unit test
stopped.

Fixes bug #591045.
libs/gst/check/gstcheck.h