Release the image after setting
This commit is contained in:
Vendored
+1
@@ -114,6 +114,7 @@ namespace ExternalMac
|
||||
NSImage *tmpImage = [NSImage imageNamed:cursorImageName];
|
||||
cursor = [[NSCursor alloc] initWithImage:tmpImage hotSpot:NSMakePoint(customX, customY)];
|
||||
customCursorCache[cursorImageName.UTF8String] = cursor;
|
||||
[tmpImage release];
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user