msvcp90: Copy facetvec element pointer in copy ctor.
This commit is contained in:
parent
650ccf598e
commit
4f5f2e8e1b
|
@ -7798,9 +7798,12 @@ locale__Locimp* __thiscall locale__Locimp_copy_ctor(locale__Locimp *this, const
|
|||
return NULL;
|
||||
}
|
||||
for(i=0; i<this->facet_cnt; i++)
|
||||
{
|
||||
this->facetvec[i] = copy->facetvec[i];
|
||||
if(this->facetvec[i])
|
||||
locale_facet__Incref(this->facetvec[i]);
|
||||
}
|
||||
}
|
||||
MSVCP_basic_string_char_copy_ctor(&this->name, ©->name);
|
||||
_Lockit_dtor(&lock);
|
||||
return this;
|
||||
|
|
Loading…
Reference in New Issue