Revision: 10201
http://sourceforge.net/p/skim-app/code/10201
Author: hofman
Date: 2018-12-29 13:52:10 +0000 (Sat, 29 Dec 2018)
Log Message:
-----------
don't autorelease cached image
Modified Paths:
--------------
trunk/SKAnnotationTypeImageCell.m
Modified: trunk/SKAnnotationTypeImageCell.m
===================================================================
--- trunk/SKAnnotationTypeImageCell.m 2018-12-29 10:35:42 UTC (rev 10200)
+++ trunk/SKAnnotationTypeImageCell.m 2018-12-29 13:52:10 UTC (rev 10201)
@@ -119,7 +119,7 @@
size.height = fmin(size.width, size.height);
if (activeImage == nil || NSEqualSizes([activeImage size], size) ==
NO) {
SKDESTROY(activeImage);
- activeImage = [[[NSImage alloc] initWithSize:size] autorelease];
+ activeImage = [[NSImage alloc] initWithSize:size];
[activeImage lockFocus];
[[NSColor blackColor] setFill];
[NSBezierPath setDefaultLineWidth:1.0];
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