I've googled a lot for this, but get no clue for it.
First of all, i'm not using ARC.
let's say i am calling a asynchronous function, and passing a pointer A to it, initialially i thought, okay, let's pass a autoreleased pointer A to it, the async function will release A after it finished its operation. but seems it won't work.
NSURLRequest *request = [[[NSURLRequest requestWithURL:[NSURL URLWithString:@"someurl"]] autorelease];
[webView loadRequest:request];
Then there's a EXC_BAD_ACCESS error coming in, if i remove the autorelease, then it goes fine.
anyone knows about this?