Module: wine Branch: master Commit: 2c8f5e09ed2b4514b3e1059a5319f2b309594c71 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2c8f5e09ed2b4514b3e1059a53...
Author: Sebastian Lackner sebastian@fds-team.de Date: Fri Aug 7 08:20:11 2015 +0200
vcomp: Also initialize dynamic_type in _vcomp_fork.
---
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);