Commits

Jens Alfke  committed bfbe15c

Fixed leaks in MailUtils.

  • Participants
  • Parent commits 8062945

Comments (0)

Files changed (1)

                 [[[mail classForScriptingClass:@"to recipient"] alloc] initWithProperties:
                                                                  $dict({@"address", recipient})];
             [emailMessage.toRecipients addObject: theRecipient];
+            [theRecipient release];
         }
         
         /* add an attachment, if one was specified */
             
             /* add it to the list of attachments */
             [[emailMessage.content attachments] addObject: theAttachment];
+            [theAttachment release];
         }
         
         /* add the object to the mail app  */