Just ran the build analyzer on my code and the analyzer flagged this as a 
possible leak:

    host = CFHostCreateWithName(kCFAllocatorDefault, (CFStringRef)hostName);
    assert(host != NULL);

saying that on the "assert(host != NULL)" line, there was a potential leak of 
the object allocated just above. How would one deal with that?

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://nemesys.dyndns.org
Logiciels Nemesys Software                                              
[email protected]
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to