From 4ed68775f91b6ecb566164babda0d00f0b519d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20J=2E=20Hern=C3=A1ndez=20Blasco?= Date: Sat, 29 Nov 2014 09:23:06 +0100 Subject: [PATCH] Use malloc/free as NGAllocAtomic/NGFree are useless LIB_FOUNDATION_BOEHM_GC is never used and will never be according to inverse-inc devs --- sope-core/NGExtensions/NGQuotedPrintableCoding.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }