[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-cvs
Subject:    Sebastian Lackner : ntdll: Fix incorrect value passed to RtlDeleteTimerQueueEx.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2014-01-30 19:25:26
Message-ID: E1W8xEs-0001If-7r () wine ! codeweavers ! com
[Download RAW message or body]

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

Author: Sebastian Lackner <sebastian@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;



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic