From d6f8284c2f9aa8042f13fe47c59bd419b34e4245 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 13 Nov 2006 12:53:09 +0100 Subject: [PATCH] server: Fix list corruption caused by previous change. --- server/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/process.c b/server/process.c index b66e492aa88..217710a0835 100644 --- a/server/process.c +++ b/server/process.c @@ -517,7 +517,7 @@ static void terminate_process( struct process *process, struct thread *skip, int { 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 );