fix device probe adding

This commit is contained in:
Bert Vermeulen 2011-01-31 23:44:18 +01:00
parent 7d65887435
commit dd56a9320d
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}