mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 10:20:24 +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 */
|
/* Discard first deferred packet */
|
||||||
list_del ( &iobuf->list );
|
list_del ( &iobuf->list );
|
||||||
free ( iobuf );
|
free_iob ( iobuf );
|
||||||
|
|
||||||
/* Report discard */
|
/* Report discard */
|
||||||
discarded++;
|
discarded++;
|
||||||
|
|||||||
Reference in New Issue
Block a user