Changeset 325 for Generics/TemplateGenerics/Generic/GenericListObject.inc
- Timestamp:
- Feb 8, 2012, 1:05:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/TemplateGenerics/Generic/GenericListObject.inc
r312 r325 75 75 procedure TGListObject.Put(Index: TGListIndex; const AValue: TGListItem); 76 76 begin 77 if OwnsObjects then FItems[Index].Free;77 if OwnsObjects and (FItems[Index] <> AValue) then FItems[Index].Free; 78 78 inherited Put(Index, AValue); 79 79 end;
Note:
See TracChangeset
for help on using the changeset viewer.