Alexandre Julliard : server:
Clear the thread wait before releasing objects to avoid nested calls.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 5 15:25:34 CST 2007
Module: wine
Branch: master
Commit: 49868e3c93a613f50ce3a746d0276b86ecdd27c3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=49868e3c93a613f50ce3a746d0276b86ecdd27c3
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Feb 5 18:05:03 2007 +0100
server: Clear the thread wait before releasing objects to avoid nested calls.
Reported by Misha Koshelev.
---
server/thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/thread.c b/server/thread.c
index b4a16cd..030ee20 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -447,10 +447,10 @@ static void end_wait( struct thread *thr
int i;
assert( wait );
+ thread->wait = wait->next;
for (i = 0, entry = wait->queues; i < wait->count; i++, entry++)
entry->obj->ops->remove_queue( entry->obj, entry );
if (wait->user) remove_timeout_user( wait->user );
- thread->wait = wait->next;
free( wait );
}
More information about the wine-cvs
mailing list