Browse Source

[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 years ago
parent
commit
14722c27d6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/netdevice.c

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

1080
 
1080
 
1081
 			/* Discard first deferred packet */
1081
 			/* Discard first deferred packet */
1082
 			list_del ( &iobuf->list );
1082
 			list_del ( &iobuf->list );
1083
-			free ( iobuf );
1083
+			free_iob ( iobuf );
1084
 
1084
 
1085
 			/* Report discard */
1085
 			/* Report discard */
1086
 			discarded++;
1086
 			discarded++;

Loading…
Cancel
Save