artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa96c72
)
Fix a memory leak in an error path found by Maxime Villard's
author
jsg
<jsg@openbsd.org>
Tue, 28 Apr 2015 14:07:47 +0000
(14:07 +0000)
committer
jsg
<jsg@openbsd.org>
Tue, 28 Apr 2015 14:07:47 +0000
(14:07 +0000)
Brainy Code Scanner.
sys/dev/ic/aic6915.c
patch
|
blob
|
history
diff --git
a/sys/dev/ic/aic6915.c
b/sys/dev/ic/aic6915.c
index
6d1e0c3
..
729312f
100644
(file)
--- a/
sys/dev/ic/aic6915.c
+++ b/
sys/dev/ic/aic6915.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: aic6915.c,v 1.1
4 2014/12/22 02:28:51 tedu Exp $
*/
+/* $OpenBSD: aic6915.c,v 1.1
5 2015/04/28 14:07:47 jsg Exp $
*/
/* $NetBSD: aic6915.c,v 1.15 2005/12/24 20:27:29 perry Exp $ */
/*-
@@
-405,6
+405,7
@@
sf_start(struct ifnet *ifp)
if (error) {
printf("%s: unable to load Tx buffer, "
"error = %d\n", sc->sc_dev.dv_xname, error);
+ m_freem(m);
break;
}
}