- unit test with valgrind

git-svn-id: file:///svn/unbound/trunk@4493 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2018-02-02 09:45:13 +00:00
parent e95a9ac466
commit fdd1199cb1
2 changed files with 27 additions and 4 deletions
+4
View File
@@ -354,6 +354,10 @@ main(int argc, char* argv[])
case 's':
free(pass_argv[1]);
testbound_selftest();
checklock_stop();
if(log_get_lock()) {
lock_quick_destroy((lock_quick_type*)log_get_lock());
}
exit(0);
case '1':
#ifdef USE_SHA1