mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 02:10:25 +03:00
[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:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user