[1/7] vcomp: Also initialize dynamic_type in _vcomp_fork.
Sebastian Lackner
sebastian at fds-team.de
Fri Aug 7 01:20:11 CDT 2015
Unfortunately forgot that in my previous patch :( ^^
---
dlls/vcomp/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c
index 748899d..42b116b 100644
--- a/dlls/vcomp/main.c
+++ b/dlls/vcomp/main.c
@@ -857,6 +857,7 @@ void WINAPIV _vcomp_fork(BOOL ifval, int nargs, void *wrapper, ...)
thread_data.fork_threads = 0;
thread_data.section = 1;
thread_data.dynamic = 1;
+ thread_data.dynamic_type = 0;
list_init(&thread_data.entry);
InitializeConditionVariable(&thread_data.cond);
@@ -876,6 +877,7 @@ void WINAPIV _vcomp_fork(BOOL ifval, int nargs, void *wrapper, ...)
data->fork_threads = 0;
data->section = 1;
data->dynamic = 1;
+ data->dynamic_type = 0;
list_remove(&data->entry);
list_add_tail(&thread_data.entry, &data->entry);
WakeAllConditionVariable(&data->cond);
@@ -898,6 +900,7 @@ void WINAPIV _vcomp_fork(BOOL ifval, int nargs, void *wrapper, ...)
data->fork_threads = 0;
data->section = 1;
data->dynamic = 1;
+ data->dynamic_type = 0;
InitializeConditionVariable(&data->cond);
thread = CreateThread(NULL, 0, _vcomp_fork_worker, data, 0, NULL);
--
2.5.0
More information about the wine-patches
mailing list