summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_url.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-09-29 22:49:11 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-09-29 22:49:11 +0000
commitcdc0646c5a183e53cb0f0f1b8ef3466423ca021f (patch)
tree38778d4aa845c174ec5deaf742307b078fb4b955 /sys/dev/usb/if_url.c
parenta6321893b1758c8210305f2b2f1bc3fdb39e7a32 (diff)
Plug memory leak; nyar-junk@int0rnet.net
Diffstat (limited to 'sys/dev/usb/if_url.c')
-rw-r--r--sys/dev/usb/if_url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c
index bcedf7ffcf8..a3a888c4048 100644
--- a/sys/dev/usb/if_url.c
+++ b/sys/dev/usb/if_url.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_url.c,v 1.7 2002/07/25 02:18:10 nate Exp $ */
+/* $OpenBSD: if_url.c,v 1.8 2002/09/29 22:49:10 jason Exp $ */
/* $NetBSD: if_url.c,v 1.2 2002/03/28 21:49:19 ichiro Exp $ */
/*
* Copyright (c) 2001, 2002
@@ -995,7 +995,7 @@ url_txeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status)
ifp->if_opackets++;
- m_free(c->url_mbuf);
+ m_freem(c->url_mbuf);
c->url_mbuf = NULL;
if (IFQ_IS_EMPTY(&ifp->if_snd) == 0)