diff -r a9dd5ac5ff11 -r dd637bdd214e BLIP/BLIPTest.m --- a/BLIP/BLIPTest.m Mon May 04 23:21:26 2009 -0700 +++ b/BLIP/BLIPTest.m Mon Jul 20 14:50:49 2009 -0700 @@ -50,8 +50,10 @@ SecIdentitySearchRef search; SecIdentitySearchCreate(kc, CSSM_KEYUSE_ANY, &search); SecIdentityRef identity; - while (SecIdentitySearchCopyNext(search, &identity) == noErr) + while (SecIdentitySearchCopyNext(search, &identity) == noErr) { [identities addObject: (id)identity]; + CFRelease( identity ); + } CFRelease(search); Log(@"Found %u identities -- prompting '%@'", identities.count, prompt); if (identities.count > 0) {