Environment: 'reference' rather than 'garbage collection'.

Instruments tells me that I have a Foundation leak:

Leaked Object,# Address Size    Responsible Library     Responsible Frame
Malloc 176 Bytes,       0x86e290        176     Foundation      
-[NSNotificationCenter removeObserver:name:object:]

 0 libSystem.B.dylib calloc
  1 CoreFoundation __addHandler2
  2 Foundation +[__NSObserver isAnObserver:]
  3 Foundation -[NSNotificationCenter removeObserver:name:object:]
  4 Foundation -[NSNotificationCenter removeObserver:]
  5 Foundation -[NSRunLoop(NSRunLoop) dealloc]
  6 CoreFoundation CFRelease
  7 CoreFoundation __CFFinalizeRunLoop
  8 libSystem.B.dylib _pthread_tsd_cleanup
  9 libSystem.B.dylib _pthread_exit
 10 libSystem.B.dylib start_wqthread

I appears to be related to the use of NSNotification, which I use frequently.  
As you can see no source code is referenced.

How do I get to the offending code?

Best regards,

John MacMullin

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to