Mercurial > hg > icedtea9-forest > jdk
changeset 5543:7c0b390ab5f9
7168851: [macosx] Netbeans crashes in CImage.nativeCreateNSImageFromArray
Summary: Eliminate unnecessary -release call
Reviewed-by: dcherepanov
author | anthony |
---|---|
date | Wed, 16 May 2012 14:28:12 +0400 |
parents | cad0bb1a9bdb |
children | 3c819d638e36 |
files | src/macosx/native/sun/awt/CImage.m |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/macosx/native/sun/awt/CImage.m Wed May 16 13:15:27 2012 +0400 +++ b/src/macosx/native/sun/awt/CImage.m Wed May 16 14:28:12 2012 +0400 @@ -163,7 +163,6 @@ if ([reps count]) { NSImage *nsImage = [[NSImage alloc] initWithSize:NSMakeSize(0, 0)]; [nsImage addRepresentations: reps]; - [reps release]; if (nsImage != nil) { CFRetain(nsImage); // GC