[PATCH 02/13] msvcp90: Add implementation of _Concurrent_vector_dtor.

Hua Meng 161220092 at smail.nju.edu.cn
Tue Jul 31 04:41:35 CDT 2018


Signed-off-by: Hua meng <161220092 at smail.nju.edu.cn>
---
 dlls/msvcp90/misc.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c
index 701b2334e8..90407f812d 100644
--- a/dlls/msvcp90/misc.c
+++ b/dlls/msvcp90/misc.c
@@ -1618,7 +1618,10 @@ DEFINE_THISCALL_WRAPPER(_Concurrent_vector_base_v4_dtor, 4)
 void __thiscall _Concurrent_vector_base_v4_dtor(
         _Concurrent_vector_base_v4 *this)
 {
-    FIXME("(%p) stub\n", this);
+    TRACE("(%p)\n", this);
+
+    if(this->segment != this->storage)
+        free(this->segment);
 }
 
 /* ?_Internal_assign at _Concurrent_vector_base_v4@details at Concurrency@@IAEXABV123 at IP6AXPAXI@ZP6AX1PBXI at Z4@Z */
-- 
2.11.0







More information about the wine-devel mailing list