void __cdecl __mingw_str_free(void *ptr) { if (ptr) free(ptr); }