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 free non-malloced memory. From mlang@dely...
details: https://anonhg.NetBSD.org/src/rev/0350e02dd2bd
branches: trunk
changeset: 555231:0350e02dd2bd
user: augustss <augustss%NetBSD.org@localhost>
date: Wed Nov 12 11:29:12 2003 +0000
description:
Don't free non-malloced memory. From mlang%delysid.org@localhost
diffstat:
sys/dev/usb/ubsa.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 8fdd622096f1 -r 0350e02dd2bd sys/dev/usb/ubsa.c
--- a/sys/dev/usb/ubsa.c Wed Nov 12 10:48:04 2003 +0000
+++ b/sys/dev/usb/ubsa.c Wed Nov 12 11:29:12 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ubsa.c,v 1.6 2003/07/14 15:47:29 lukem Exp $ */
+/* $NetBSD: ubsa.c,v 1.7 2003/11/12 11:29:12 augustss Exp $ */
/*-
* Copyright (c) 2002, Alexander Kabaev <kan.FreeBSD.org>.
* All rights reserved.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ubsa.c,v 1.6 2003/07/14 15:47:29 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ubsa.c,v 1.7 2003/11/12 11:29:12 augustss Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -380,7 +380,6 @@
USB_ATTACH_SUCCESS_RETURN;
error:
- free(devinfo, M_USBDEV);
USB_ATTACH_ERROR_RETURN;
}
Home |
Main Index |
Thread Index |
Old Index