Running (or showing info about) PDs with optional probes was not working
and causing segfaults.
The reason was a g_slist_concat() call that was applied to a list,
whereas it needs to be applied to a copy of the list.
This fixes #138.
(GDestroyNotify)g_variant_unref);
all_probes = g_slist_copy(dec->probes);
- all_probes = g_slist_concat(all_probes, dec->opt_probes);
+ all_probes = g_slist_concat(all_probes, g_slist_copy(dec->opt_probes));
for (l = all_probes; l; l = l->next) {
p = l->data;
if (!(val_str = g_hash_table_lookup(hash, p->id)))