BButton
BButton copied to clipboard
Memory leak with CGGradientCreateWithColors
Hi,
The call to CGGradientCreateWithColors causes a memory leak. One solution would be to move the code into the drawing routine and call CGGradientRelease there.