mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 18:22:54 +02:00
Merge branch 'lcl/cocoa/combobox' into 'main'
FIX: LCL/Cocoa: in TCocoaReadOnlyComboBox.dealloc(), Free list as in TCocoaComboBox.dealloc() See merge request freepascal.org/lazarus/lazarus!150
This commit is contained in:
commit
cb57e3f187
@ -1595,6 +1595,7 @@ end;
|
|||||||
|
|
||||||
procedure TCocoaReadOnlyComboBox.dealloc;
|
procedure TCocoaReadOnlyComboBox.dealloc;
|
||||||
begin
|
begin
|
||||||
|
FreeAndNil( list );
|
||||||
if resultNS <> nil then resultNS.release;
|
if resultNS <> nil then resultNS.release;
|
||||||
inherited dealloc;
|
inherited dealloc;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user