Reputation: 659
I’m trying to debug a C code and unfortunately I can’t use valgrind since I have Mavericks installed.
I’m using lldb
but am not sure what command to run to check for memory leaks.
Upvotes: 5
Views: 4336
Reputation: 5721
If nothing else works, you might try using dmalloc library, which has been ported to OS X and is pretty good at finding reasonably complex memory allocation problems.
Upvotes: 2