Piotr Caban : msvcp60: Fix locale::dtor implementation.
Alexandre Julliard
julliard at winehq.org
Wed Aug 28 14:03:10 CDT 2013
Module: wine
Branch: master
Commit: 7de8b5d12321a92ca394afd23e62f1efd3d3cb18
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7de8b5d12321a92ca394afd23e62f1efd3d3cb18
Author: Piotr Caban <piotr at codeweavers.com>
Date: Wed Aug 28 15:13:39 2013 +0200
msvcp60: Fix locale::dtor implementation.
---
dlls/msvcp60/locale.c | 2 +-
dlls/msvcp71/locale.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcp60/locale.c b/dlls/msvcp60/locale.c
index 62b6a93..7a6db3a 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 1a557a3..4268566 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);
}
}
More information about the wine-cvs
mailing list