elementfactory: fix factory leak in test

https://bugzilla.gnome.org/show_bug.cgi?id=765903
This commit is contained in:
Guillaume Desmottes 2016-05-02 07:35:45 +02:00 committed by Sebastian Dröge
parent 782bc97e6f
commit 1e297d7423

View file

@ -159,6 +159,7 @@ GST_START_TEST (test_class)
fail_if (klass->elementfactory == NULL);
fail_if (klass->elementfactory != factory);
gst_object_unref (factory);
}
GST_END_TEST;