Ver código fonte

[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 9 anos atrás
pai
commit
14722c27d6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/net/netdevice.c

+ 1
- 1
src/net/netdevice.c Ver arquivo

@@ -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++;

Carregando…
Cancelar
Salvar