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

Hua Meng 161220092 at smail.nju.edu.cn
Tue Jul 31 10:16:07 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 a1bec86666..7cd835bf56 100644
--- a/dlls/msvcp90/misc.c
+++ b/dlls/msvcp90/misc.c
@@ -1786,7 +1786,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