mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
removed fix for memory leak until we can fix other ref counting problems.
This commit is contained in:
parent
abde4d052f
commit
1744162688
1 changed files with 4 additions and 4 deletions
|
|
@ -512,10 +512,10 @@ DBGetSTCursor::Advance(void)
|
||||||
if (NS_FAILED(result)) return result;
|
if (NS_FAILED(result)) return result;
|
||||||
|
|
||||||
while (NS_RDF_CURSOR_EMPTY != result) {
|
while (NS_RDF_CURSOR_EMPTY != result) {
|
||||||
nsCOMPtr<nsIRDFResource> src;
|
nsIRDFResource* src;
|
||||||
nsCOMPtr<nsIRDFNode> trg;
|
nsIRDFNode* trg;
|
||||||
mCurrentCursor->GetSource(getter_AddRefs(src));
|
mCurrentCursor->GetSource(&src);
|
||||||
mCurrentCursor->GetTarget(getter_AddRefs(trg));
|
mCurrentCursor->GetTarget(&trg);
|
||||||
if (!mCompositeDataSourceImpl->HasAssertionN(mCount-1, src, mLabel, trg, !mTruthValue)) {
|
if (!mCompositeDataSourceImpl->HasAssertionN(mCount-1, src, mLabel, trg, !mTruthValue)) {
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue