Fix memory leaks from osl_strings_malloc