http://www.cocoachina.com/bbs/read.php?tid=54756
函数名 有 new alloc create copy 的 都要记得释放
ABAddressBookRef addressBook = ABAddressBookCreate();的这个addressBook要释放的吗?
if(addressBook)
CFRelease(addressBook)
http://www.cocoachina.com/bbs/read.php?tid=54756
函数名 有 new alloc create copy 的 都要记得释放
ABAddressBookRef addressBook = ABAddressBookCreate();的这个addressBook要释放的吗?
if(addressBook)
CFRelease(addressBook)