camerabin: fix element leak in test
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 19 May 2016 09:36:42 +0000 (12:36 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 21 Jun 2016 07:52:47 +0000 (10:52 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=766663

tests/check/elements/camerabin.c

index f5b30ba..f6d7c7c 100644 (file)
@@ -1872,6 +1872,7 @@ GST_START_TEST (test_image_location_switching)
     g_free (filenames[i]);
   }
   g_signal_handler_disconnect (src, notify_id);
+  gst_object_unref (src);
 }
 
 GST_END_TEST;