tests: ghostpad: Fix memory leaks

https://bugzilla.gnome.org/show_bug.cgi?id=762845
This commit is contained in:
Vineeth TM 2016-02-29 11:06:50 +09:00 committed by Sebastian Dröge
parent f02e52ba3f
commit 15e0f6315f

View file

@ -1255,6 +1255,8 @@ GST_START_TEST (test_activate_src_pull_mode)
fail_unless (GST_PAD_IS_ACTIVE (internalpad));
fail_unless (GST_PAD_IS_ACTIVE (srcpad));
gst_object_unref (internalpad);
gst_object_unref (srcpad);
gst_object_unref (b);
}