Fixed a leak.
This commit is contained in:
1 parent
6c7d4da46f
commit
70dc65fbfa
1 file changed
+1
@@ -777,6 +777,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
|
|||||||
}
|
}
|
||||||
|
|
||||||
panel.allowedFileTypes = supportedFileFormats;
|
panel.allowedFileTypes = supportedFileFormats;
|
||||||
|
[supportedFileFormats release];
|
||||||
|
|
||||||
[panel beginSheetModalForWindow:documentWindow completionHandler:^(NSInteger result) {
|
[panel beginSheetModalForWindow:documentWindow completionHandler:^(NSInteger result) {
|
||||||
if (result == NSFileHandlingPanelOKButton) {
|
if (result == NSFileHandlingPanelOKButton) {
|
||||||
|
|||||||
Reference in new issue
Block a user