I have this warning in analyzer and also in leaks instrument, how can I fix this leak?
Object allocated on line 86 and stored into ‘glossPath’ is not referenced later in this execution path and has a retain count of +1 (object leaked)
Tnx

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are responsible for releasing the object returned by
CGPathCreateMutable()as per “The Create Rule”. It is also stated in the reference:You can use
CGPathRelease()to release the path.