mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-03-11 00:59:38 -04:00
test: finalize LOG when skipping in unit test
This fixes a leak reported by valgrind.
This commit is contained in:
@@ -36,6 +36,8 @@ TST_Fail(int line)
|
||||
void
|
||||
TST_Skip(int line)
|
||||
{
|
||||
LOG_Finalise();
|
||||
|
||||
printf("SKIP (on line %d)\n", line);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user