mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
removed fix for memory leak until we can fix other ref counting problems.
This commit is contained in:
parent
abde4d052f
commit
1744162688
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user