Permalink
Browse files

Fixes bug #36 where a double free as occuring

  • Loading branch information...
1 parent 1ce5f39 commit a857dd00af728f7dd1bc5db7015482fabb7a43cc @mronge mronge committed Nov 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/CTMIME.m
View
@@ -112,6 +112,7 @@ - (NSString *)render {
resultStr = [[NSString alloc] initWithBytes:str->str length:str->len
encoding:NSUTF8StringEncoding];
mmap_string_free(str);
+ mime->mm_data.mm_message.mm_fields = NULL;
mailmime_free(mime);
return [resultStr autorelease];
}

0 comments on commit a857dd0

Please sign in to comment.