Alexandre Julliard : server: Fix list corruption caused by previous change.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 13 06:31:06 CST 2006


Module: wine
Branch: master
Commit: d6f8284c2f9aa8042f13fe47c59bd419b34e4245
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d6f8284c2f9aa8042f13fe47c59bd419b34e4245

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Nov 13 12:53:09 2006 +0100

server: Fix list corruption caused by previous change.

---

 server/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/process.c b/server/process.c
index b66e492..217710a 100644
--- a/server/process.c
+++ b/server/process.c
@@ -517,7 +517,7 @@ static void terminate_process( struct pr
 {
     struct list *ptr;
 
-    if (skip)  /* move it to the end of the list */
+    if (skip && skip->process == process)  /* move it to the end of the list */
     {
         assert( skip->state != TERMINATED );
         list_remove( &skip->proc_entry );




More information about the wine-cvs mailing list