summaryrefslogtreecommitdiff
path: root/misc/iio-oscilloscope/files/patch-osc.c
blob: b078db2d8fde71d5e2d266fee1b6f6ec87050a90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- osc.c.orig	2019-10-31 18:10:02 UTC
+++ osc.c
@@ -573,7 +573,7 @@ int plugin_data_capture_of_plot(OscPlot *plot, const c
 	struct iio_device *dev, *tmp_dev = NULL;
 	struct extra_dev_info *dev_info;
 	struct marker_type *markers_copy = NULL;
-	GMutex *markers_lock;
+	GMutex *markers_lock = NULL;
 	unsigned int i, j;
 	bool new = FALSE;
 	const char *tmp = NULL;