msvcp60: Fix locale::dtor implementation.
This commit is contained in:
parent
c7417e4528
commit
7de8b5d123
|
@ -8278,7 +8278,7 @@ void __thiscall locale_dtor(locale *this)
|
|||
TRACE("(%p)\n", this);
|
||||
if(this->ptr && locale_facet__Decref(&this->ptr->facet)) {
|
||||
locale__Locimp_dtor(this->ptr);
|
||||
MSVCRT_operator_delete(this);
|
||||
MSVCRT_operator_delete(this->ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8810,7 +8810,7 @@ void __thiscall locale_dtor(locale *this)
|
|||
TRACE("(%p)\n", this);
|
||||
if(this->ptr && locale_facet__Decref(&this->ptr->facet)) {
|
||||
locale__Locimp_dtor(this->ptr);
|
||||
MSVCRT_operator_delete(this);
|
||||
MSVCRT_operator_delete(this->ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue