# | Line 75 | Line 75 | |
---|---|---|
75 | ||
76 | - (void) openPreferences:(id)sender | |
77 | { | |
78 | + | NSAutoreleasePool *pool; |
79 | + | |
80 | if (nibObjects == nil) { | |
81 | nibObjects = [self loadPrefsNibFile]; | |
82 | if (nibObjects == nil) | |
# | Line 82 | Line 84 | |
84 | [nibObjects retain]; | |
85 | } | |
86 | ||
87 | + | pool = [[NSAutoreleasePool alloc] init]; |
88 | [[VMSettingsController sharedInstance] setupGUI]; | |
89 | [NSApp runModalForWindow:prefsWindow]; | |
90 | + | [pool release]; |
91 | } | |
92 | ||
93 | @end |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |