ToCString MemFree fix