From 7bbcf9470a0cdc32ea417b06313e94c86ab0d566 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 22 Oct 2024 22:05:17 +0000 Subject: [PATCH] correct argument to klist_free(); ok visa@ mvs@ --- sys/net/if_pppx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_pppx.c b/sys/net/if_pppx.c index 62d92e6aa71..843b3b0d9d1 100644 --- a/sys/net/if_pppx.c +++ b/sys/net/if_pppx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pppx.c,v 1.131 2024/09/20 02:00:46 jsg Exp $ */ +/* $OpenBSD: if_pppx.c,v 1.132 2024/10/22 22:05:17 jsg Exp $ */ /* * Copyright (c) 2010 Claudio Jeker @@ -562,7 +562,7 @@ pppxclose(dev_t dev, int flags, int mode, struct proc *p) mq_purge(&pxd->pxd_svcq); klist_free(&pxd->pxd_rklist); - klist_free(&pxd->pxd_rklist); + klist_free(&pxd->pxd_wklist); free(pxd, M_DEVBUF, sizeof(*pxd)); -- 2.20.1