[PATCH] Cleanup event log only if create was successful

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Sun Aug 28 17:28:40 CDT 2011


---
 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();
 }
-- 
1.7.4.1


--------------090306070008090706040709--



More information about the wine-patches mailing list