]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't check the memory leaks in the libdns tests as they hide the cmocka assertion...
authorOndřej Surý <ondrej@sury.org>
Fri, 30 Nov 2018 12:02:15 +0000 (13:02 +0100)
committerOndřej Surý <ondrej@sury.org>
Tue, 4 Dec 2018 08:00:42 +0000 (09:00 +0100)
lib/dns/tests/dnstest.c

index c2f927095d9092f3abb47353c5f46b4ed6f43b9f..c1418fa534f6d9ef2245ca301ab0e249c8225b65 100644 (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;