Skip navigation.
 
mlReleasing objects causes BAD_ACCESS
FROM : Meik Schuetz
DATE : Mon Jul 07 23:38:38 2008

Dear all,

according to the document

http://developer.apple.com/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html

the connection object as well as the receivedData object are released 
in the connectionDidFinishLoading delegate. However, while debugging, 
I receive an BAD_ACCESS violation doing the release. Can anyone please 
give me some insight on why this is happening? Is there any strategy/ 
debugging tool that helps me to find objects that should have been 
released or should I just rely on GC?

Thanks so much
Best regards
Meik

Related mailsAuthorDate
mlReleasing objects causes BAD_ACCESS Meik Schuetz Jul 7, 23:38
mlRe: Releasing objects causes BAD_ACCESS Jonathan del Strot… Jul 7, 23:44
mlRe: Releasing objects causes BAD_ACCESS Randall Meadows Jul 7, 23:49
mlRe: Releasing objects causes BAD_ACCESS Randall Meadows Jul 7, 23:54
mlRe: Releasing objects causes BAD_ACCESS Scott Ribe Jul 8, 04:09