Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes bug #36 where a double free as occuring
  • Loading branch information
mronge committed Nov 9, 2012
1 parent 1ce5f39 commit a857dd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CTMIME.m
Expand Up @@ -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];
}
Expand Down

0 comments on commit a857dd0

Please sign in to comment.