From 5f720cc3cbf8588d0d3e64c8973ec4d44f343c9f Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 28 Oct 2015 23:47:30 +0530 Subject: [PATCH] v4l2: fix double-unref in the v4l2 device provider --- sys/v4l2/gstv4l2deviceprovider.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/v4l2/gstv4l2deviceprovider.c b/sys/v4l2/gstv4l2deviceprovider.c index 8e366d478a..63329e64fc 100644 --- a/sys/v4l2/gstv4l2deviceprovider.c +++ b/sys/v4l2/gstv4l2deviceprovider.c @@ -365,7 +365,6 @@ gst_v4l2_device_provider_stop (GstDeviceProvider * provider) g_main_context_unref (context); g_thread_join (self->thread); - g_thread_unref (self->thread); self->thread = NULL; self->started = FALSE; }