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:18:11 +0000
commitb996e4e56c18bc4d50335ea16de0fb6ec3133ba0 (patch)
tree7d23cca99a83c5847d46d1a30b43a8ee28af5bf2
parentaf698602cfb9004deb9988f71da86a78f94d5c59 (diff)
downloadgstreamer-plugins-good-b996e4e56c18bc4d50335ea16de0fb6ec3133ba0.tar.gz
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;
}