This was showing up when the bridge compatibiity module was attempting
to delete a bridge.
ds_put_char(§ion, '.');
va_end(args);
- for (p = find_key_le(ds_cstr(§ion));
- *p && !strncmp(section.string, *p, section.length);
- p++) {
- svec_del(&cfg, *p);
+ for (p = cfg.names; *p; p++) { /* XXX this is inefficient */
+ if (!strncmp(section.string, *p, section.length)) {
+ svec_del(&cfg, *p);
+ }
}
ds_destroy(§ion);
dirty = true;