changeset 15804:374509e16f8a

8165717: [macosx] Various memory leaks in jdk9 Reviewed-by: ant, ssadetsky
author serb
date Fri, 16 Sep 2016 17:28:06 +0300
parents 793bac676dd2
children aef4e02825a3
files src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m	Thu Sep 15 16:12:08 2016 +0530
+++ b/src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m	Fri Sep 16 17:28:06 2016 +0300
@@ -376,7 +376,6 @@
 {
     void (^copy)() = [block copy];
     NSInteger encode = (NSInteger) copy;
-    [copy retain];
     NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
     NSEvent* event = [NSEvent otherEventWithType: NSApplicationDefined
                                         location: NSMakePoint(0,0)