mronge/MailCore — pull request #63 by ghdk (2012-12-01 16:56:20+00:00)
Title: On the CTCoreMessage leaks again.

When a CTCoreMessage is initialized with a method that involves the mailmessage
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.

This patch differs from the one i sent before in the dealloc method only.