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:
committed by
Ondřej Surý
parent
54defc8b78
commit
62f738ba48
@@ -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("as[i]);
|
qp = "a;
|
||||||
|
isc_quota_detach(&qp);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 6; i < 20; i++) {
|
for (i = 6; i < 20; i++) {
|
||||||
|
Reference in New Issue
Block a user