From dd56a9320d3ecb8f9054600f118a219f0de4ec9f Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 31 Jan 2011 23:44:18 +0100 Subject: [PATCH] fix device probe adding --- device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/device.c b/device.c index 1079bc3e..9985fca9 100644 --- a/device.c +++ b/device.c @@ -162,7 +162,6 @@ void device_probe_add(struct sr_device *device, char *name) snprintf(probename, 16, "%d", probenum); p->name = g_strdup(probename); } - p->name = g_strdup(name); p->trigger = NULL; device->probes = g_slist_append(device->probes, p); }