diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-08-30 08:19:50 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-08-30 08:19:50 +0000 |
commit | 4a376d8cab62d175d2c9c1dfbb06f63622493cca (patch) | |
tree | c968da82462f9e2ee2c4ce958d3cdc4fa8b7e13a | |
parent | a09c4ad27ff34dfd76bcaefe2a8ccc899d601709 (diff) |
plug mbuf leak.
-rw-r--r-- | sys/dev/ic/if_wi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c index 7f58fe7e81d..72e6c99bedb 100644 --- a/sys/dev/ic/if_wi.c +++ b/sys/dev/ic/if_wi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi.c,v 1.78 2002/08/30 08:08:22 fgsch Exp $ */ +/* $OpenBSD: if_wi.c,v 1.79 2002/08/30 08:19:49 fgsch Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -124,7 +124,7 @@ u_int32_t widebug = WIDEBUG; #if !defined(lint) && !defined(__OpenBSD__) static const char rcsid[] = - "$OpenBSD: if_wi.c,v 1.78 2002/08/30 08:08:22 fgsch Exp $"; + "$OpenBSD: if_wi.c,v 1.79 2002/08/30 08:19:49 fgsch Exp $"; #endif /* lint */ #ifdef foo @@ -2010,6 +2010,7 @@ nextpkt: ": wi_start: dropping unassoc dst %s\n", WI_PRT_ARG(sc), ether_sprintf(eh->ether_dhost)); + m_freem(m0); goto nextpkt; } } |