mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: memory leak in ContextMenu/Services on macOS
(cherry picked from commit bf7876dfb4)
This commit is contained in:
parent
b70e58ecf2
commit
dc586fd143
1 changed files with 1 additions and 0 deletions
|
|
@ -315,6 +315,7 @@ begin
|
|||
begin
|
||||
subMenu:= TCocoaMenu.alloc.initWithTitle(NSString.string_);
|
||||
TCocoaMenuItem(servicesItem.Handle).setSubmenu( subMenu );
|
||||
subMenu.release;
|
||||
NSApp.setServicesMenu( NSMenu(servicesItem.Handle) );
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue