Grouper/FlatUIKit — pull request #100 by zrnorth (2013-08-20 19:26:44+00:00)
Title: Fixed a memory leak in UIImage+FlatUI.m

Two functions were not calling UIGraphicsEndImageContext() in the UIImage+FlatUI.m class. All the others ones were, so it made me suspicious.

ARC does not seem to be able to autorelease any buttons created with these classes, as the context is never closed, and thus a small memory leak is introduced when navigating through view controllers. I found that simply inserting these two function calls plugged the leak.