I hope it's not getting to be too late at night for me to do this stuff... If I'm not spacy, solib_open is leaking memory, because openp passes back a malloc buffer for temp_pathname. In order to free it, it has to always be a malloc buffer (hence no alloca etc).