From 70dc65fbfa6f8a8fe600e22f327f37af250f2099 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Thu, 5 Nov 2015 15:42:13 +0100 Subject: [PATCH] Fixed a leak. --- Classes/SBDocument.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/SBDocument.m b/Classes/SBDocument.m index 18c43d8..9d65f98 100755 --- a/Classes/SBDocument.m +++ b/Classes/SBDocument.m @@ -777,6 +777,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn } panel.allowedFileTypes = supportedFileFormats; + [supportedFileFormats release]; [panel beginSheetModalForWindow:documentWindow completionHandler:^(NSInteger result) { if (result == NSFileHandlingPanelOKButton) {