diff --git a/source/external/src/mac/Mac.mm b/source/external/src/mac/Mac.mm index af86ece5..c134ba04 100644 --- a/source/external/src/mac/Mac.mm +++ b/source/external/src/mac/Mac.mm @@ -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;