Revision: 28531
http://sourceforge.net/p/bibdesk/svn/28531
Author: hofman
Date: 2024-01-04 10:15:48 +0000 (Thu, 04 Jan 2024)
Log Message:
-----------
use malloc/free instead of NSZone functions
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMQuery.m
Modified: trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMQuery.m
===================================================================
--- trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMQuery.m 2024-01-04
09:57:28 UTC (rev 28530)
+++ trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMQuery.m 2024-01-04
10:15:48 UTC (rev 28531)
@@ -57,7 +57,7 @@
if (NULL == config) {
NSString *str = [self defaultConfigString];
NSUInteger len = ([str
lengthOfBytesUsingEncoding:NSASCIIStringEncoding] + 1);
- char *buf = NSZoneMalloc(NULL, sizeof(char) * len);
+ char *buf = malloc(sizeof(char) * len);
[str getCString:buf maxLength:len encoding:NSASCIIStringEncoding];
config = buf ? buf : "";
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit