mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 22:10:19 +02:00
* fixed memory leaks
git-svn-id: branches/jvmbackend@18598 -
This commit is contained in:
parent
ce88df680b
commit
f3f378496f
@ -86,14 +86,18 @@ implementation
|
||||
ccallparanode.create(p,nil)));
|
||||
end
|
||||
else
|
||||
{ records/arrays/... are automatically initialised }
|
||||
result:=cnothingnode.create;
|
||||
begin
|
||||
p.free;
|
||||
{ records/arrays/... are automatically initialised }
|
||||
result:=cnothingnode.create;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
class function tjvmnodeutils.finalize_data_node(p:tnode):tnode;
|
||||
begin
|
||||
// do nothing
|
||||
p.free;
|
||||
result:=cnothingnode.create;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user