Please sign in to comment.
When a CTCoreMessage is initialized with a method that involves the m…
…ailmessage structure, the myFields references the mailimf_single_fields of the mailmessage. Upon deallocation, the function mailmessage_free() also releases the substructures of the mailimf_single_fields, hence the object is released properly. However, when the object is initialised with init, the mailmessage is not used, and the substructures of mailimf_single_fields are leaked. This patch fixes this issue.
- Loading branch information...