advapi32: Cleanup event log only if create was successful.
This commit is contained in:
parent
a966945d98
commit
6dcae92ca1
|
@ -1147,6 +1147,6 @@ START_TEST(eventlog)
|
|||
{
|
||||
test_readwrite();
|
||||
test_autocreation();
|
||||
cleanup_eventlog();
|
||||
}
|
||||
cleanup_eventlog();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue