Even though I’ve been using Xcode for something like 5 years, I learn something new about it and its related tools all the time. This week I started playing with Instruments and the Leaks tool in particular. I was horrified at the number of memory leaks I found in ReceiptWallet. While they weren’t large, I’m ashamed that I had any (there were maybe a dozen or so). It also showed me that some of the system libraries I’m using (in particular TWAIN and Image Capture) also seem to have memory leaks. I feel much better that I squashed the leaks. They probably won’t affect users, but having memory leaks is just bad.