Fixing memory leaks. It's not ARC-compliant (we can disable that on these files). I am not willing to go down the ARC-conversion route right now... so let's just plug the memory leaks.