2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 15:05:23 +00:00

Fix detaching the extra quotas in the quota_test

This commit is contained in:
Witold Kręcicki
2020-04-21 13:33:42 +02:00
committed by Ondřej Surý
parent 54defc8b78
commit 62f738ba48

View File

@@ -210,7 +210,8 @@ isc_quota_callback_test(void **state) {
/* Release the quotas that we did not released in the callback */ /* Release the quotas that we did not released in the callback */
for (i = 0; i < 5; i++) { for (i = 0; i < 5; i++) {
isc_quota_detach(&quotas[i]); qp = &quota;
isc_quota_detach(&qp);
} }
for (i = 6; i < 20; i++) { for (i = 6; i < 20; i++) {