зеркало из https://github.com/mozilla/pjs.git
fixing runtime crash for arielb - was shadowing a member with a local in the ctor
This commit is contained in:
Родитель
f9a1ee0ccf
Коммит
be789f7ed0
|
@ -10,8 +10,9 @@ nsPrincipalArray::nsPrincipalArray(void)
|
|||
|
||||
nsPrincipalArray::nsPrincipalArray(PRUint32 count)
|
||||
{
|
||||
nsVector * itsArray = new nsVector();
|
||||
itsArray->SetSize(count, 1);
|
||||
itsArray = new nsVector();
|
||||
if(itsArray)
|
||||
itsArray->SetSize(count, 1);
|
||||
}
|
||||
nsPrincipalArray::~nsPrincipalArray(void)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче