Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7330b6a commit e8d2098Copy full SHA for e8d2098
1 file changed
src/_macosx.m
@@ -4705,8 +4705,10 @@ -(void)save_figure:(id)sender
4705
NSText* messagebox = self->messagebox;
4706
4707
if (messagebox)
4708
- { NSString* text = [NSString stringWithUTF8String: message];
+ { NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
4709
+ NSString* text = [NSString stringWithUTF8String: message];
4710
[messagebox setString: text];
4711
+ [pool release];
4712
}
4713
4714
Py_INCREF(Py_None);
0 commit comments