我跑了一辆
leaks
报告我正在开发的项目,结果如下:
Process 2454: 155054 nodes malloced for 7464 KB
Process 2454: 6 leaks for 608 total leaked bytes.
Leak: 0x14984360 size=160 zone: DefaultMallocZone_0x127000 instance of 'SecCertificate', type CFType, implemented in Security
0xa024562c 0x01015580 0x00000000 0xa0575c68 ,V$..U......h\W.
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x0046d8cc 0x1492a480 0x00000000 0x4d555458 ..F.........XTUM
0x00000000 0x00000068 0x00000000 0x00000000 ....h...........
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00000000 ................
...
Leak: 0x1447cab0 size=144 zone: DefaultMallocZone_0x127000 string 'Ã'
Leak: 0x146b4010 size=96 zone: DefaultMallocZone_0x127000 instance of 'SecKeychainItem', type CFType, implemented in Security
0xa024562c 0x01015980 0x00000000 0xa0575de8 ,V$..Y.......]W.
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x0046d8cc 0x1481dbb0 0x00000000 0x4d555458 ..F.........XTUM
0x00000000 0x00000068 0x00000000 0x00000000 ....h...........
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00000000 ................
Leak: 0x147ecf70 size=80 zone: DefaultMallocZone_0x127000 string 'Ã'
Leak: 0x1481dbb0 size=64 zone: DefaultMallocZone_0x127000 string 'O'
Leak: 0x1492a480 size=64 zone: DefaultMallocZone_0x127000 string 'ê'
SecCertificate
或
SecKeychainItem