fixed bug 25767

r=beard


git-svn-id: svn://10.0.0.236/trunk@59362 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com
2000-02-01 05:12:25 +00:00
parent 2f5317e160
commit 40bbaf6296
2 changed files with 4 additions and 0 deletions

View File

@@ -240,6 +240,7 @@ DeleteRangeTxn::CreateTxnsToDeleteBetween(nsIDOMNode *aStartParent,
numToDel = aEndOffset-aStartOffset;
txn->Init(mEditor, textNode, aStartOffset, numToDel);
AppendChild(txn);
NS_RELEASE(txn);
}
else
{
@@ -266,6 +267,7 @@ DeleteRangeTxn::CreateTxnsToDeleteBetween(nsIDOMNode *aStartParent,
txn->Init(child);
AppendChild(txn);
NS_RELEASE(txn);
}
}
return result;