Revision: 28719
http://sourceforge.net/p/bibdesk/svn/28719
Author: hofman
Date: 2024-02-10 15:54:20 +0000 (Sat, 10 Feb 2024)
Log Message:
-----------
use NSZone for zlib allocation
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCacheFile.mm
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCacheFile.mm
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCacheFile.mm 2024-02-09
17:33:29 UTC (rev 28718)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCacheFile.mm 2024-02-10
15:54:20 UTC (rev 28719)
@@ -313,8 +313,8 @@
z_stream strm;
- strm.zalloc = Z_NULL;
- strm.zfree = Z_NULL;
+ strm.zalloc = (alloc_func)NSZoneCalloc;
+ strm.zfree = (free_func)NSZoneFree;
strm.opaque = FVDefaultZone();
strm.total_out = 0;
strm.next_in = (Bytef *)[data bytes];
@@ -393,8 +393,8 @@
z_stream strm;
strm.avail_in = ZLIB_BUFFER_SIZE;
strm.total_out = 0;
- strm.zalloc = Z_NULL;
- strm.zfree = Z_NULL;
+ strm.zalloc = (alloc_func)NSZoneCalloc;
+ strm.zfree = (free_func)NSZoneFree;
strm.opaque = FVDefaultZone();
(void) inflateInit(&strm);
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