Removed small memory leak.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2015-02-02 14:09:04 +00:00
parent 5017171db8
commit 62ed929ea5
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ int Fl_Native_File_Chooser::post() {
popup = createPopupAccessory((NSSavePanel*)_panel, t, Fl_File_Chooser::show_label, 0);
delete[] t;
[[popup menu] addItem:[NSMenuItem separatorItem]];
[popup addItemWithTitle:[[NSString alloc] initWithUTF8String:Fl_File_Chooser::all_files_label]];
[popup addItemWithTitle:[NSString stringWithUTF8String:Fl_File_Chooser::all_files_label]];
[popup setAction:@selector(validateVisibleColumns)];
[popup setTarget:(NSObject*)_panel];
FLopenDelegate *openDelegate = [[[FLopenDelegate alloc] init] autorelease];