camerabin: fix element leak in test

https://bugzilla.gnome.org/show_bug.cgi?id=766663
This commit is contained in:
Guillaume Desmottes 2016-05-19 12:36:42 +03:00 committed by Sebastian Dröge
parent a68534d094
commit 9694e7e820

View file

@ -1872,6 +1872,7 @@ GST_START_TEST (test_image_location_switching)
g_free (filenames[i]); g_free (filenames[i]);
} }
g_signal_handler_disconnect (src, notify_id); g_signal_handler_disconnect (src, notify_id);
gst_object_unref (src);
} }
GST_END_TEST; GST_END_TEST;