diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-11-11 15:14:57 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-11-11 15:14:57 +0000 |
commit | 763570a8cc7467afb5fb81ade866c0519c45faff (patch) | |
tree | ef42033a0a64773598a59308f9c340ce4190f385 /sys/dev | |
parent | 47ac571b28414165099b6642cff5a275d8abf9ab (diff) |
Do not free() stack variables; reported by Mario Lang (mlang at delysid dot org)
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/ubsa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/ubsa.c b/sys/dev/usb/ubsa.c index 3195320eb65..96b166384d7 100644 --- a/sys/dev/usb/ubsa.c +++ b/sys/dev/usb/ubsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubsa.c,v 1.3 2003/05/19 00:29:34 nate Exp $ */ +/* $OpenBSD: ubsa.c,v 1.4 2003/11/11 15:14:56 miod Exp $ */ /* $NetBSD: ubsa.c,v 1.5 2002/11/25 00:51:33 fvdl Exp $ */ /*- * Copyright (c) 2002, Alexander Kabaev <kan.FreeBSD.org>. @@ -381,7 +381,6 @@ USB_ATTACH(ubsa) USB_ATTACH_SUCCESS_RETURN; error: - free(devinfo, M_USBDEV); USB_ATTACH_ERROR_RETURN; } |