Skip to content

Commit 8d50a48

Browse files
committed
CDRIVER-884: Cleanup the testcase itself so not to taint valgrind logs
1 parent 8043339 commit 8d50a48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/TestSuite.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@ TestSuite_RunFuncInChild (TestSuite *suite, /* IN */
391391
close (fd);
392392
srand (test->seed);
393393
test->func (test->ctx);
394+
395+
TestSuite_Destroy (suite);
394396
exit (0);
395397
}
396398

0 commit comments

Comments
 (0)