From: jsg Date: Tue, 22 Oct 2024 22:05:17 +0000 (+0000) Subject: correct argument to klist_free(); ok visa@ mvs@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7bbcf9470a0cdc32ea417b06313e94c86ab0d566;p=openbsd correct argument to klist_free(); ok visa@ mvs@ --- 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));