FIX: LCL/Cocoa: in TCocoaReadOnlyComboBox.dealloc(), Free list as in TCocoaComboBox.dealloc()

This commit is contained in:
rich2014 2023-05-08 21:32:32 +08:00 committed by Maxim Ganetsky
parent e36a1b4633
commit b94903074c

View File

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