# New Ticket Created by Mike Mattie # Please include the string: [perl #42947] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42947 >
Hello, This patch changes the Parrot_get_runtime_prefix API from char* Parrot_get_runtime_prefix(Interp *interp, STRING **prefix_str) to STRING* Parrot_get_runtime_prefix (Interp *interp ) { This is done to make the routine safer, it no longer can leak memory. Also the useless "." paths are removed from src/library.c. some minor changes to Parrot_locate_runtime_file_str are present to sync and correct that function. other callers in src/inter_misc.c , and compilers/imcc/main.c are fixed as well. also a case of a bare free() being used instead of the proper mem_sys_free is fixed. This relies on #42944 to apply. Cheers, Mike Mattie - [EMAIL PROTECTED]