aboutsummaryrefslogtreecommitdiffstats
path: root/src/wg_cookie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wg_cookie.c')
-rw-r--r--src/wg_cookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wg_cookie.c b/src/wg_cookie.c
index 31bcf7835d79..d87bfe5d6d6d 100644
--- a/src/wg_cookie.c
+++ b/src/wg_cookie.c
@@ -94,11 +94,11 @@ cookie_init(void)
void
cookie_deinit(void)
{
- uma_zdestroy(ratelimit_zone);
ratelimit_deinit(&ratelimit_v4);
#ifdef INET6
ratelimit_deinit(&ratelimit_v6);
#endif
+ uma_zdestroy(ratelimit_zone);
}
void