diff --git a/sope-core/NGExtensions/NGQuotedPrintableCoding.m b/sope-core/NGExtensions/NGQuotedPrintableCoding.m index c5b40ddd3..97dae7b55 100644 --- a/sope-core/NGExtensions/NGQuotedPrintableCoding.m +++ b/sope-core/NGExtensions/NGQuotedPrintableCoding.m @@ -109,13 +109,13 @@ - (NSData *)dataByEncodingQuotedPrintable { // length/64*3 should be plenty for soft newlines desLen = (length + length/64) *3; - des = NGMallocAtomic(sizeof(char) * desLen); + des = malloc(sizeof(char) * desLen); desLen = NGEncodeQuotedPrintable(bytes, length, des, desLen); if ((int)desLen == -1) { - NGFree(des); + free(des); return nil; }