mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 00:58:04 +02:00
Cocoa: fix memory leak in LegacyScroller #41171
This commit is contained in:
parent
42f7e27f41
commit
e78f9e84ad
@ -511,6 +511,7 @@ begin
|
||||
scrollBar:= TCocoaScrollBar(TCocoaScrollBar.alloc);
|
||||
manager:= TCocoaScrollStyleManagerLegacy.createForScrollBar;
|
||||
scrollBar.setManager( manager );
|
||||
scrollBar.autorelease;
|
||||
end;
|
||||
|
||||
function allocScroller(parent: TCocoaManualScrollView; dst: NSRect; aVisible: Boolean)
|
||||
|
Loading…
Reference in New Issue
Block a user