Maarten Lankhorst : winmm: Fix handle leak in timer tests.

Alexandre Julliard julliard at winehq.org
Mon Apr 26 13:59:30 CDT 2010


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

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sat Apr 24 08:07:28 2010 +0200

winmm: Fix handle leak in timer tests.

---

 dlls/winmm/tests/timer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winmm/tests/timer.c b/dlls/winmm/tests/timer.c
index 7ac86b9..be63f6b 100644
--- a/dlls/winmm/tests/timer.c
+++ b/dlls/winmm/tests/timer.c
@@ -190,6 +190,7 @@ static void test_priority(void)
            "thread priority is %s, should be THREAD_PRIORITY_TIME_CRITICAL\n",
            get_priority(priority));
     }
+    timeKillEvent(id);
 }
 
 START_TEST(timer)




More information about the wine-cvs mailing list