jdk/src/macosx/native/sun/awt/CMenuBar.m
changeset 23651 e41298d0da2f
parent 23010 6dadb192ad81
--- a/jdk/src/macosx/native/sun/awt/CMenuBar.m	Fri Mar 14 14:23:33 2014 +0400
+++ b/jdk/src/macosx/native/sun/awt/CMenuBar.m	Fri Mar 14 16:01:04 2014 +0400
@@ -405,10 +405,6 @@
 
 
     JNF_COCOA_EXIT(env);
-    if (aCMenuBar) {
-        CFRetain(aCMenuBar); // GC
-        [aCMenuBar release];
-    }
     return ptr_to_jlong(aCMenuBar);
 }