You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: HG 2.0 Reported for operating system, platform: iOS (All), iPhone/iPod touch
Comments on the original bug report:
On 2010-07-17 19:21:36 +0000, Vittorio Giovara wrote:
Created attachment 521
fix the double free error
in SDL_uikitview the variable 'textfield' is initialialized and set to autorelease.
however in the dealloc method a second [release] is sent.
If the textfield has not been set to nil before (with a viewDidUnload for example) this can lead to awful hard-to-find crashes when the SDL code terminates.
the error message is
-[textfield release] message sent to deallocated instance 0x4e5fa90
the fix is simple, just release the object as soon as it is added to the subview, see attached patch
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: HG 2.0
Reported for operating system, platform: iOS (All), iPhone/iPod touch
Comments on the original bug report:
On 2010-07-17 19:21:36 +0000, Vittorio Giovara wrote:
On 2011-01-19 23:46:00 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: