mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 10:32:13 -04:00
Clean quota callback after calling it
This commit is contained in:
parent
60629e5b0b
commit
2f252a1068
1 changed files with 2 additions and 0 deletions
|
|
@ -119,6 +119,8 @@ quota_release(isc_quota_t *quota) {
|
|||
UNLOCK("a->cblock);
|
||||
if (cb != NULL) {
|
||||
cb->cb_func(quota, cb->data);
|
||||
cb->cb_func = NULL;
|
||||
cb->data = NULL;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue