Sebastian Lackner : ntdll: Fix incorrect value passed to RtlDeleteTimerQueueEx.

Alexandre Julliard julliard at winehq.org
Thu Jan 30 13:25:26 CST 2014


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

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu Jan 30 03:56:19 2014 +0100

ntdll: Fix incorrect value passed to RtlDeleteTimerQueueEx.

---

 dlls/ntdll/threadpool.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c
index 4edd069..5bf3385 100644
--- a/dlls/ntdll/threadpool.c
+++ b/dlls/ntdll/threadpool.c
@@ -889,7 +889,7 @@ static struct timer_queue *get_timer_queue(HANDLE TimerQueue)
                     (void **) &default_timer_queue, q, NULL);
                 if (p)
                     /* Got beat to the punch.  */
-                    RtlDeleteTimerQueueEx(p, NULL);
+                    RtlDeleteTimerQueueEx(q, NULL);
             }
         }
         return default_timer_queue;




More information about the wine-cvs mailing list