msvcp60: Fix locale::dtor implementation.

This commit is contained in:
Piotr Caban 2013-08-28 15:13:39 +02:00 committed by Alexandre Julliard
parent c7417e4528
commit 7de8b5d123
2 changed files with 2 additions and 2 deletions

View File

@ -8278,7 +8278,7 @@ void __thiscall locale_dtor(locale *this)
TRACE("(%p)\n", this); TRACE("(%p)\n", this);
if(this->ptr && locale_facet__Decref(&this->ptr->facet)) { if(this->ptr && locale_facet__Decref(&this->ptr->facet)) {
locale__Locimp_dtor(this->ptr); locale__Locimp_dtor(this->ptr);
MSVCRT_operator_delete(this); MSVCRT_operator_delete(this->ptr);
} }
} }

View File

@ -8810,7 +8810,7 @@ void __thiscall locale_dtor(locale *this)
TRACE("(%p)\n", this); TRACE("(%p)\n", this);
if(this->ptr && locale_facet__Decref(&this->ptr->facet)) { if(this->ptr && locale_facet__Decref(&this->ptr->facet)) {
locale__Locimp_dtor(this->ptr); locale__Locimp_dtor(this->ptr);
MSVCRT_operator_delete(this); MSVCRT_operator_delete(this->ptr);
} }
} }