提交 cb89598c 编写于 作者: A anthony

7168851: [macosx] Netbeans crashes in CImage.nativeCreateNSImageFromArray

Summary: Eliminate unnecessary -release call
Reviewed-by: dcherepanov
上级 7eb16067
......@@ -163,7 +163,6 @@ AWT_ASSERT_ANY_THREAD;
if ([reps count]) {
NSImage *nsImage = [[NSImage alloc] initWithSize:NSMakeSize(0, 0)];
[nsImage addRepresentations: reps];
[reps release];
if (nsImage != nil) {
CFRetain(nsImage); // GC
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册