mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-08 14:03:49 +00:00
properly initialize the result recycler when evaluating xslt PI params. r/sr=peterv b=362297 a=stuart
This commit is contained in:
parent
c4193e984b
commit
ab497a1b31
@ -485,6 +485,9 @@ txMozillaXSLTProcessor::AddXSLTParam(const nsString& aName,
|
||||
if (!mRecycler) {
|
||||
mRecycler = new txResultRecycler;
|
||||
NS_ENSURE_TRUE(mRecycler, NS_ERROR_OUT_OF_MEMORY);
|
||||
|
||||
rv = mRecycler->init();
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
|
||||
txXSLTParamContext paramContext(&mParamNamespaceMap, *contextNode,
|
||||
|
Loading…
Reference in New Issue
Block a user