removed fix for memory leak until we can fix other ref counting problems.

This commit is contained in:
putterman%netscape.com 1999-04-23 17:46:25 +00:00
parent abde4d052f
commit 1744162688

View File

@ -512,10 +512,10 @@ DBGetSTCursor::Advance(void)
if (NS_FAILED(result)) return result;
while (NS_RDF_CURSOR_EMPTY != result) {
nsCOMPtr<nsIRDFResource> src;
nsCOMPtr<nsIRDFNode> trg;
mCurrentCursor->GetSource(getter_AddRefs(src));
mCurrentCursor->GetTarget(getter_AddRefs(trg));
nsIRDFResource* src;
nsIRDFNode* trg;
mCurrentCursor->GetSource(&src);
mCurrentCursor->GetTarget(&trg);
if (!mCompositeDataSourceImpl->HasAssertionN(mCount-1, src, mLabel, trg, !mTruthValue)) {
return NS_OK;
} else {