From: Witold Kręcicki Date: Tue, 21 Apr 2020 11:33:42 +0000 (+0200) Subject: Fix detaching the extra quotas in the quota_test X-Git-Tag: v9.17.2~132^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62f738ba48532c2720a335ab8434eeffddf0939c;p=thirdparty%2Fbind9.git Fix detaching the extra quotas in the quota_test --- diff --git a/lib/isc/tests/quota_test.c b/lib/isc/tests/quota_test.c index 997b253fb20..60b66ede442 100644 --- a/lib/isc/tests/quota_test.c +++ b/lib/isc/tests/quota_test.c @@ -210,7 +210,8 @@ isc_quota_callback_test(void **state) { /* Release the quotas that we did not released in the callback */ for (i = 0; i < 5; i++) { - isc_quota_detach("as[i]); + qp = "a; + isc_quota_detach(&qp); } for (i = 6; i < 20; i++) {