mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 20:19:10 +02:00
Fixed AvlTree commit 60ccdde22e
, missed renaming one instance of "root"
This commit is contained in:
parent
32244e8caa
commit
b4aada9f95
@ -1154,7 +1154,7 @@ begin
|
||||
r := Root;
|
||||
FRoot := nil; // Prevent any being-destroyed object from removing its node.
|
||||
try
|
||||
FreeNodeData(Root);
|
||||
FreeNodeData(r);
|
||||
finally
|
||||
FRoot := r;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user