From: Bert Vermeulen Date: Mon, 31 Jan 2011 22:44:18 +0000 (+0100) Subject: fix device probe adding X-Git-Tag: libsigrok-0.1.0~357 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=dd56a9320d3ecb8f9054600f118a219f0de4ec9f;p=libsigrok.git fix device probe adding --- 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); }