diff --git a/dlls/msvcp60/locale.c b/dlls/msvcp60/locale.c index 62b6a938e51..7a6db3a59a4 100644 --- a/dlls/msvcp60/locale.c +++ b/dlls/msvcp60/locale.c @@ -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); } } diff --git a/dlls/msvcp71/locale.c b/dlls/msvcp71/locale.c index 1a557a3de1f..4268566d2be 100644 --- a/dlls/msvcp71/locale.c +++ b/dlls/msvcp71/locale.c @@ -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); } }