mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 06:22:33 +00:00
Fix XML Schema crash that happens when using WSDL/SOAP arrays (bug 246082). r=timeless; sr=jst
This commit is contained in:
parent
c44082952a
commit
5d10c71afc
@ -351,7 +351,7 @@ nsSchemaComplexType::GetArrayDimension(PRUint32* aDimension)
|
||||
NS_ENSURE_ARG_POINTER(aDimension);
|
||||
|
||||
*aDimension = 0;
|
||||
if (!mArrayInfo) {
|
||||
if (mArrayInfo) {
|
||||
*aDimension = mArrayInfo->GetDimension();
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user