Don't check the memory leaks in the libdns tests as they hide the cmocka assertion failures

This commit is contained in:
Ondřej Surý 2018-11-30 13:02:15 +01:00
parent 69dee61f5a
commit ef87b1e60b

View file

@ -137,6 +137,9 @@ dns_test_begin(FILE *logfile, bool start_managers) {
INSIST(mctx == NULL);
CHECK(isc_mem_create(0, 0, &mctx));
/* Don't check the memory leaks as they hide the assertions */
isc_mem_setdestroycheck(mctx, false);
INSIST(!dst_active);
CHECK(dst_lib_init(mctx, NULL));
dst_active = true;