From 62f738ba48532c2720a335ab8434eeffddf0939c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Witold=20Kr=C4=99cicki?= Date: Tue, 21 Apr 2020 13:33:42 +0200 Subject: [PATCH] Fix detaching the extra quotas in the quota_test --- lib/isc/tests/quota_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/isc/tests/quota_test.c b/lib/isc/tests/quota_test.c index 997b253fb2..60b66ede44 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++) {