mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue