summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2015-10-28 23:47:30 +0530
committerTim-Philipp Müller <tim@centricular.com>2015-10-28 19:09:28 +0000
commit5f720cc3cbf8588d0d3e64c8973ec4d44f343c9f (patch)
tree2163a616b272aafcf394b54969e27c9749573c59
parent65d08e2154eba75323fa7badfb78c0c9327d0a43 (diff)
v4l2: fix double-unref in the v4l2 device provider
-rw-r--r--sys/v4l2/gstv4l2deviceprovider.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2deviceprovider.c b/sys/v4l2/gstv4l2deviceprovider.c
index 8e366d478..63329e64f 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;
}