* avoid memory leak for copy of withnode in tempnodes

git-svn-id: trunk@6067 -
This commit is contained in:
pierre 2007-01-19 05:12:08 +00:00
parent 8132e2c5d0
commit d5e4828f6f

View File

@ -1015,6 +1015,10 @@ implementation
destructor ttempdeletenode.destroy;
begin
if assigned(tempinfo^.withnode) then
begin
tempinfo^.withnode.free;
end;
dispose(tempinfo);
end;