[netdevice] Fix erroneous use of free(iobuf) instead of free_iob(iobuf)

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2014-12-09 23:49:11 +00:00
parent d08547309b
commit 14722c27d6

View File

@@ -1080,7 +1080,7 @@ static unsigned int net_discard ( void ) {
/* Discard first deferred packet */ /* Discard first deferred packet */
list_del ( &iobuf->list ); list_del ( &iobuf->list );
free ( iobuf ); free_iob ( iobuf );
/* Report discard */ /* Report discard */
discarded++; discarded++;