How to resolve dyld and localtime leaks when profiling a project?
问题 I am profiling my source. I see some allocations that are still alive at exit when I run valgrind . Here is the summary: $ valgrind --track-origins=yes --show-reachable=yes --leak-check=full $BINARY ... ==20235== LEAK SUMMARY: ==20235== definitely lost: 0 bytes in 0 blocks ==20235== indirectly lost: 0 bytes in 0 blocks ==20235== possibly lost: 0 bytes in 0 blocks ==20235== still reachable: 20,228 bytes in 37 blocks ==20235== suppressed: 0 bytes in 0 blocks ==20235== The responsible libraries