mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Null-check to fix crash. b=601543 r+a=jonas
This commit is contained in:
parent
f2f33e4d70
commit
3ff314356f
@ -919,7 +919,7 @@ txMozillaXSLTProcessor::SetParameter(const nsAString & aNamespaceURI,
|
||||
|
||||
if (NS_FAILED(rv)) {
|
||||
while (i < count) {
|
||||
NS_RELEASE(values[i]);
|
||||
NS_IF_RELEASE(values[i]);
|
||||
++i;
|
||||
}
|
||||
nsMemory::Free(array);
|
||||
|
Loading…
x
Reference in New Issue
Block a user