Changeset 16 for trunk/Packages
- Timestamp:
- Mar 19, 2013, 9:43:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/TemplateGenerics/Generic/GenericListObject.inc
r6 r16 67 67 procedure TGListObject.Put(Index: TGListIndex; const AValue: TGListItem); 68 68 begin 69 if OwnsObjects and (FItems[Index] <> AValue) then FItems[Index].Free;69 if OwnsObjects and (FItems[Index] <> AValue) and Assigned(FItems[Index]) then FItems[Index].Free; 70 70 inherited Put(Index, AValue); 71 71 end;
Note:
See TracChangeset
for help on using the changeset viewer.