Memory management regular expression search for Cocoa
January 15, 2007
From Domain of the Bored:
/^retain$|^(alloc|new)|[cC]opy/
ObjectAlloc can be a useful tool for detecting memory leaks, but a simple search is just as good (and probably easier) for catching the really stupid memory management mistakes. (via CocoaBlogs)