att
Hi,
I found a memory allocation bug,
[code]// Urho3D: added function
const char* SDL_IOS_GetResourceDir()
{
if (!resource_dir)
{
const char *temp = [[[NSBundle mainBundle] resourcePath] UTF8String];
resource_dir = malloc(strlen(temp + 1));
strcpy(resource_dir, temp);
}
return resource_dir;
}[/code]
should be