Sfoglia il codice sorgente

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 10 anni fa
parent
commit
14722c27d6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/net/netdevice.c

+ 1
- 1
src/net/netdevice.c Vedi File

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

Loading…
Annulla
Salva