GNOME Bugzilla – Bug 767012
object: leak in test_fake_object_name
Last modified: 2016-06-20 10:39:25 UTC
.
Created attachment 328714 [details] [review] object: fix object reference leak in test_fake_object_name gst_object_set_parent() takes a reference on the child which should be dropped using gst_object_unparent().
This seems to have been fixed by commit f2fd3bda2bf5d2d77d2acc1584806ff615533591 Author: Stefan Sauer <ensonic@users.sf.net> Date: Mon May 30 13:42:36 2016 +0200 gstobject: split up name tests It is better to have separate tests: 1) the test name will tell what is broekn when the test fails 2) we still run the other tests when one assert fails 3) the tests are easier to understand 4) we don't rely on sie effect of previous actions 5) ... Also ix the assertion message for the name checks (Gst -> fakeobject). (now in test_fake_object_set_name_when_parented)