mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-04 21:55:55 +00:00
elementfactory: fix factory leak in test
https://bugzilla.gnome.org/show_bug.cgi?id=765903
This commit is contained in:
parent
782bc97e6f
commit
1e297d7423
|
@ -159,6 +159,7 @@ GST_START_TEST (test_class)
|
||||||
fail_if (klass->elementfactory == NULL);
|
fail_if (klass->elementfactory == NULL);
|
||||||
fail_if (klass->elementfactory != factory);
|
fail_if (klass->elementfactory != factory);
|
||||||
|
|
||||||
|
gst_object_unref (factory);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
Loading…
Reference in a new issue