Revision: 13902
http://sourceforge.net/p/skim-app/code/13902
Author: hofman
Date: 2023-12-14 10:10:11 +0000 (Thu, 14 Dec 2023)
Log Message:
-----------
Don't use NSZoneMalloc with ARC
Modified Paths:
--------------
trunk/QuickLook-Skim/SKQLConverter.m
Modified: trunk/QuickLook-Skim/SKQLConverter.m
===================================================================
--- trunk/QuickLook-Skim/SKQLConverter.m 2023-12-12 23:51:21 UTC (rev
13901)
+++ trunk/QuickLook-Skim/SKQLConverter.m 2023-12-14 10:10:11 UTC (rev
13902)
@@ -114,7 +114,7 @@
begin = ptr + 1;
length = [htmlString length];
- ptr = NSZoneMalloc(NULL, length * sizeof(unichar));
+ ptr = malloc(length * sizeof(unichar));
if (!ptr)
return nil;
@@ -153,7 +153,7 @@
ptr++;
}
APPEND_PREVIOUS();
- NSZoneFree(NULL, originalPtr);
+ free(originalPtr);
return result;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit