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:
Maxim Ganetsky 2023-05-09 10:30:19 +00:00
commit cb57e3f187

View File

@ -1595,6 +1595,7 @@ end;
procedure TCocoaReadOnlyComboBox.dealloc;
begin
FreeAndNil( list );
if resultNS <> nil then resultNS.release;
inherited dealloc;
end;