Revision: 28720
          http://sourceforge.net/p/bibdesk/svn/28720
Author:   hofman
Date:     2024-02-10 16:07:42 +0000 (Sat, 10 Feb 2024)
Log Message:
-----------
use default allocator for data object itself

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm     
2024-02-10 15:54:20 UTC (rev 28719)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm     
2024-02-10 16:07:42 UTC (rev 28720)
@@ -992,7 +992,7 @@
     if (kvImageNoError == ret) {
         [interleavedImageBuffer setFreeBufferOnDealloc:NO];
         CFAllocatorRef alloc = [interleavedImageBuffer allocator];
-        data = CFDataCreateWithBytesNoCopy(alloc, (uint8_t 
*)interleavedBuffer->data, interleavedBuffer->rowBytes * 
interleavedBuffer->height, alloc);
+        data = CFDataCreateWithBytesNoCopy(CFAllocatorGetDefault(), (uint8_t 
*)interleavedBuffer->data, interleavedBuffer->rowBytes * 
interleavedBuffer->height, alloc);
     }
     
     // cleanup is safe now

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

Reply via email to