diff --git a/sys/dev/pud/pud.c b/sys/dev/pud/pud.c index 5654021bad19..a8df7de3f63d 100644 --- a/sys/dev/pud/pud.c +++ b/sys/dev/pud/pud.c @@ -1,4 +1,4 @@ -/* $NetBSD: pud.c,v 1.5 2007/11/28 16:59:02 pooka Exp $ */ +/* $NetBSD: pud.c,v 1.6 2007/11/28 17:01:59 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pud.c,v 1.5 2007/11/28 16:59:02 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pud.c,v 1.6 2007/11/28 17:01:59 pooka Exp $"); #include #include @@ -337,6 +337,7 @@ pud_request(dev_t dev, void *data, size_t dlen, int class, int type) if (--pd->pd_waitcount == 0) cv_signal(&pd->pd_draincv); mutex_exit(&pd->pd_mtx); + cv_destroy(&put.pt_cv); return pdr->pdr_rv; }