tests: protection: fix leak in unit test

This commit is contained in:
Tim-Philipp Müller 2015-04-18 12:28:15 +01:00
parent 640e3ecfee
commit ff71bed31c

View file

@ -202,6 +202,8 @@ GST_START_TEST (test_decryptor_element_class)
selected_id = gst_protection_select_system (&sys_ids[3]);
fail_unless (selected_id == NULL);
gst_object_unref (elem);
}
GST_END_TEST;