Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Don't double clfree() when closing an interrupt ...
details: https://anonhg.NetBSD.org/src/rev/dd3c3d6d5e40
branches: trunk
changeset: 771727:dd3c3d6d5e40
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Thu Dec 01 22:42:41 2011 +0000
description:
Don't double clfree() when closing an interrupt endpoint.
>From Geoff C. Wing in PR#37934.
diffstat:
sys/dev/usb/ugen.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 6b07bedbe597 -r dd3c3d6d5e40 sys/dev/usb/ugen.c
--- a/sys/dev/usb/ugen.c Thu Dec 01 22:24:29 2011 +0000
+++ b/sys/dev/usb/ugen.c Thu Dec 01 22:42:41 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ugen.c,v 1.113 2011/11/25 02:59:54 jakllsch Exp $ */
+/* $NetBSD: ugen.c,v 1.114 2011/12/01 22:42:41 jakllsch Exp $ */
/*
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ugen.c,v 1.113 2011/11/25 02:59:54 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ugen.c,v 1.114 2011/12/01 22:42:41 jakllsch Exp $");
#include "opt_compat_netbsd.h"
@@ -571,7 +571,6 @@
if (sce->ibuf != NULL) {
free(sce->ibuf, M_USBDEV);
sce->ibuf = NULL;
- clfree(&sce->q);
}
}
sc->sc_is_open[endpt] = 0;
Home |
Main Index |
Thread Index |
Old Index