mirror of https://github.com/ipxe/ipxe.git
[netdevice] Fix erroneous use of free(iobuf) instead of free_iob(iobuf)
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/33/head
parent
d08547309b
commit
14722c27d6
|
@ -1080,7 +1080,7 @@ static unsigned int net_discard ( void ) {
|
|||
|
||||
/* Discard first deferred packet */
|
||||
list_del ( &iobuf->list );
|
||||
free ( iobuf );
|
||||
free_iob ( iobuf );
|
||||
|
||||
/* Report discard */
|
||||
discarded++;
|
||||
|
|
Loading…
Reference in New Issue