FpDebug: Fix leak introduced in r61951 #cc3a453334 / missing deref for ValueObject in Locals eval

git-svn-id: trunk@61957 -
This commit is contained in:
martin 2019-10-02 11:48:28 +00:00
parent a320f39ea3
commit 6591981f5f
4 changed files with 4 additions and 0 deletions

View File

@ -354,6 +354,7 @@ begin
end;
AContext.ReleaseReference;
ProcVal.ReleaseReference;
DoProcessLoop:=false;
result := true;
end;

View File

@ -819,6 +819,7 @@ begin
end;
end;
ALocals.SetDataValidity(ddsValid);
ProcVal.ReleaseReference;
AContext.ReleaseReference;
end;

View File

@ -302,6 +302,7 @@ begin
ALocals.Add(n, v);
end;
end;
ProcVal.ReleaseReference;
ALocals.SetDataValidity(ddsValid);
end;

View File

@ -448,6 +448,7 @@ begin
ALocals.SetDataValidity(ddsValid);
finally
Ctx.ReleaseReference;
ProcVal.ReleaseReference;
end;
end;