fixed a segfault in midisd_conf.c