ref: ea993877a96cd535199d0cd437e49f8d616615d9
parent: 59dd0af53a0b6ab4eb6283e6296d23b256ab7eec
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Nov 7 16:40:12 EST 2016
ip/nullmedium: free passed block in nullbwrite()
--- a/sys/src/9/ip/nullmedium.c
+++ b/sys/src/9/ip/nullmedium.c
@@ -19,8 +19,9 @@
}
static void
-nullbwrite(Ipifc*, Block*, int, uchar*)
+nullbwrite(Ipifc*, Block *bp, int, uchar*)
{
+ freeb(bp);
error("nullbwrite");
}