encodebin: Fix memory leak in test

This commit is contained in:
Sebastian Dröge 2014-04-15 13:48:46 +02:00
parent dce51830f4
commit 1822a6b31c

View file

@ -327,6 +327,7 @@ GST_START_TEST (test_encodebin_preset)
gst_element_set_state (ebin, GST_STATE_NULL); gst_element_set_state (ebin, GST_STATE_NULL);
gst_preset_delete_preset (oggmuxpreset, "test_encodebin_preset"); gst_preset_delete_preset (oggmuxpreset, "test_encodebin_preset");
gst_object_unref (oggmuxpreset);
gst_object_unref (ebin); gst_object_unref (ebin);
}; };