advapi32: Cleanup event log only if create was successful.

This commit is contained in:
Alistair Leslie-Hughes 2011-08-29 08:28:40 +10:00 committed by Alexandre Julliard
parent a966945d98
commit 6dcae92ca1
1 changed files with 1 additions and 1 deletions

View File

@ -1147,6 +1147,6 @@ START_TEST(eventlog)
{
test_readwrite();
test_autocreation();
cleanup_eventlog();
}
cleanup_eventlog();
}