|Dec 2, 2012, 09:54 PM||#1|
Double Free error with ARC
In my application, i'm using a view(say X), that has a webview, along with few other controls. On click of a button, i'm creating a tabview item & setting its view property to X.
On clicking "Cancel" button, i'm removing this tabview item.
Application is crashing when these steps are done -
1. Press button(displays tabview item)
2. Click cancel(removes tabview item)
3. Press the button pressed in step 1 again.
There is an issue with the webview. Say on step 1, the webview object was WebView: 0x10564bc00. When i press the same button again(step 3), i'm getting this message in console -
malloc: *** error for object 0x10564bc00: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
However now the webview object is changed to some 'xyz' value.
Any suggestion on how to fix this?
I'm using xcode 4.5 & ARC is enabled.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|-fobjc-arc is not supported error and duplicate symbol error in compiling||mehdies||Mac Programming||3||Sep 24, 2013 02:57 AM|
|Double clocks, double unlock slider after ios7 upgrade||MobsterMac||iPhone||0||Sep 22, 2013 03:03 PM|
|Highly Rated iOS Arcade Space Shooter 'Arc Squadron' is Free for Limited Time||MacRumors||iOS Blog Discussion||18||Dec 20, 2012 06:00 AM|
|FREE!! CalculatorZ The Best Double Calculators in 1 app||SuperNU||iPhone and iPod touch Apps||7||Oct 12, 2012 07:12 AM|
All times are GMT -5. The time now is 09:23 AM.