Fixed memory leak in CGPath