]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't clean quota cb cb_func/data, we don't own it
authorWitold Kręcicki <wpk@isc.org>
Wed, 10 Jun 2020 15:51:27 +0000 (17:51 +0200)
committerWitold Kręcicki <wpk@isc.org>
Wed, 10 Jun 2020 15:52:00 +0000 (17:52 +0200)
lib/isc/quota.c

index 2f69e86febb30e5d0f9abf9ecc97b4324fe2de8d..137838828f344257dc3b992a272d7056eedead3d 100644 (file)
@@ -119,8 +119,6 @@ quota_release(isc_quota_t *quota) {
                UNLOCK(&quota->cblock);
                if (cb != NULL) {
                        cb->cb_func(quota, cb->data);
-                       cb->cb_func = NULL;
-                       cb->data = NULL;
                        return;
                }
        }