Alistair Leslie-Hughes : advapi32: Cleanup event log only if create was successful.

Alexandre Julliard julliard at winehq.org
Mon Aug 29 11:28:39 CDT 2011


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Mon Aug 29 08:28:40 2011 +1000

advapi32: Cleanup event log only if create was successful.

---

 dlls/advapi32/tests/eventlog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/advapi32/tests/eventlog.c b/dlls/advapi32/tests/eventlog.c
index 5b46eaf..543b41c 100644
--- a/dlls/advapi32/tests/eventlog.c
+++ b/dlls/advapi32/tests/eventlog.c
@@ -1147,6 +1147,6 @@ START_TEST(eventlog)
     {
         test_readwrite();
         test_autocreation();
+        cleanup_eventlog();
     }
-    cleanup_eventlog();
 }




More information about the wine-cvs mailing list