Commit 7de8b5d1 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcp60: Fix locale::dtor implementation.

parent c7417e45
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment