mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 14:10:18 +02:00
+ Changed FreeAndNil to simple free (From Mattias Gaertner)
This commit is contained in:
parent
e5da7466d7
commit
360f273759
@ -172,7 +172,7 @@ begin
|
||||
if OwnsObjects then
|
||||
begin
|
||||
O:=GetItem(Index);
|
||||
FreeAndNil(O);
|
||||
O.Free;
|
||||
end;
|
||||
Put(Index,Pointer(AObject));
|
||||
end;
|
||||
@ -505,7 +505,10 @@ end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.8 2004-12-22 15:33:24 peter
|
||||
Revision 1.9 2004-12-24 09:18:38 michael
|
||||
+ Changed FreeAndNil to simple free (From Mattias Gaertner)
|
||||
|
||||
Revision 1.8 2004/12/22 15:33:24 peter
|
||||
* fixed compile
|
||||
|
||||
Revision 1.7 2004/12/22 12:05:41 michael
|
||||
@ -529,4 +532,4 @@ end.
|
||||
Revision 1.1 2002/07/16 13:34:39 florian
|
||||
+ skeleton for contnr.pp added
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user