GNOME Bugzilla – Bug 767156
good: fix leaks in tests
Last modified: 2016-06-02 13:21:03 UTC
.
Created attachment 328940 [details] [review] use MAY_BE_LEAKED flag
Comment on attachment 328940 [details] [review] use MAY_BE_LEAKED flag Nothing wrong with the patch, but I think it would be nicer to rewrite the tests to be less weird, especially the amrparse one. The rtpbin one could/should perhaps just cache the caps in the CleanupData struct?
Created attachment 328951 [details] [review] amrparse: clean up test - use GST_CHECK_MAIN() to reduce boilerplate - unref the input caps using a teardown function to prevent leaks
Created attachment 328952 [details] [review] rtpbin: fix caps leak in test
Awesome, thanks! commit 57eb9fec72160cd913bb62d1e2e47bb26b07aa6f Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Thu Jun 2 15:03:17 2016 +0200 tests: rtpbin: fix caps leak https://bugzilla.gnome.org/show_bug.cgi?id=767156 commit 507e99cb969eaab92dd3686068dd9991574975b2 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Thu Jun 2 15:00:01 2016 +0200 tests: amrparse: clean up test - use GST_CHECK_MAIN() to reduce boilerplate - unref the input caps using a teardown function to prevent leaks https://bugzilla.gnome.org/show_bug.cgi?id=767156