title: Using OSX Leaks for C Programs on the Command Line?
body: <p>Can anyone give me any simple syntax for running OSX's <code>leaks</code> tool for detecting memory leaks in a compiled C program? I'm on 10.8, so I'm running into serious compatibility issues with <code>valgrind</code>. </p>
  
  <p>Most of the stuff I've read about XCode's Leaks/Instruments involves being in an XCode environment -- not something I want to do for my C programs. </p>
  
  <p>Is there a way I can just run leaks on a compiled C program from the command line? If not, are there any other reliable alternatives I can use while waiting for an updated version of valgrind, or do I have to set up a VM with a Linux distro? </p>