зеркало из https://github.com/mozilla/gecko-dev.git
fix leak of document bind info when uri loading is turned on.
This commit is contained in:
Родитель
6cf30a82f9
Коммит
9e871b728c
|
@ -517,6 +517,8 @@ nsDocLoaderImpl::LoadOpenedDocument(nsIChannel * aOpenedChannel,
|
|||
if (aCurrentLoadGroup.get() != mLoadGroup.get())
|
||||
aOpenedChannel->SetLoadGroup(mLoadGroup);
|
||||
}
|
||||
|
||||
NS_RELEASE(loader);
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
|
@ -517,6 +517,8 @@ nsDocLoaderImpl::LoadOpenedDocument(nsIChannel * aOpenedChannel,
|
|||
if (aCurrentLoadGroup.get() != mLoadGroup.get())
|
||||
aOpenedChannel->SetLoadGroup(mLoadGroup);
|
||||
}
|
||||
|
||||
NS_RELEASE(loader);
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче