GNOME Bugzilla – Bug 762142
dashdemux: tests: use g_object_unref for test data
Last modified: 2016-03-31 21:29:33 UTC
The GstDashDemuxTestCase object is allocated using g_object_newv but in many places was being deallocated using gst_object_unref. This was caused by commit ae3ed25025e34ea9b09df59d22d7ebd7294560bc.
Created attachment 321374 [details] [review] proposed patch
commit 8b777669f5c5030a9115d7da6a7a8ae144b415b8 Author: Thiago Santos <thiagoss@osg.samsung.com> Date: Thu Mar 31 18:23:22 2016 -0300 tests: mssdemux: do not use gst_object_unref for pure GObject* Deallocate GObject* with g_object_unref instead of gst_object_unref. Even if it works now, it is confusing and in the future it might not work if any GstObject specifics are added. https://bugzilla.gnome.org/show_bug.cgi?id=762142 commit 6efda0405948ab0d48b6d3962054725076580787 Author: Florin Apostol <florin.apostol@oregan.net> Date: Tue Feb 16 13:55:54 2016 +0000 dashdemux: tests: use g_object_unref for test data The GstDashDemuxTestCase object is allocated using g_object_newv but in many places was being deallocated using gst_object_unref. This was caused by commit ae3ed25025e34ea9b09df59d22d7ebd7294560bc. https://bugzilla.gnome.org/show_bug.cgi?id=762142