Skip to content

Commit

Permalink
Fixed <base> debugger pseudo-property leaking a reference.
Browse files Browse the repository at this point in the history
Broken by 89994ea.
  • Loading branch information
Lexikos committed May 13, 2024
1 parent ac64f5b commit 2553e02
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions source/Debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2989,10 +2989,7 @@ void Debugger::PropertyWriter::_WriteProperty(ExprTokenType &aValue, IObject *aI
return;
PropertyInfo prop(mProp.fullname, mProp.value.buf);
if (aInvokee)
{
aInvokee->AddRef();
prop.invokee = aInvokee;
}
// Find the property's "relative" name at the end of the buffer:
prop.name = mProp.fullname.GetString() + mNameLength;
if (*prop.name == '.')
Expand Down

0 comments on commit 2553e02

Please sign in to comment.