diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2018-09-10 16:30:18 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2018-09-10 16:30:18 +0000 |
commit | 7b6fdf425a9ef38fe9e16779b3af25863104d9c0 (patch) | |
tree | 1ac9dd11604f49ca6a2feae373ff4dc7e6fb0002 /testcode/unitmain.c | |
parent | 4289761a7b61df4b64c11ada446a187df61e6a1e (diff) |
Diffstat (limited to 'testcode/unitmain.c')
-rw-r--r-- | testcode/unitmain.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testcode/unitmain.c b/testcode/unitmain.c index 57883d183b9f1..fecde80cc3d13 100644 --- a/testcode/unitmain.c +++ b/testcode/unitmain.c @@ -905,6 +905,9 @@ main(int argc, char* argv[]) #ifdef CLIENT_SUBNET ecs_test(); #endif /* CLIENT_SUBNET */ + if(log_get_lock()) { + lock_quick_destroy((lock_quick_type*)log_get_lock()); + } checklock_stop(); printf("%d checks ok.\n", testcount); #ifdef HAVE_SSL |