To be investigated, some ideas: 1. enable leak tracer with GST_TRACERS env var in glib.py test environment 2. before each test, emit the "activity-start-tracking" action signal on the tracer 3. after each test invocation get the live objects from the tracer with "activity-get-checkpoint" action signal 4. do something with the report 5. emit "activity-stop-tracking"