| 58 | */ |
| 59 | |
| 60 | static void |
| 61 | cupsdNetIFFree(void) |
| 62 | { |
| 63 | cupsd_netif_t *current; /* Current interface in array */ |
| 64 | |
| 65 | |
| 66 | /* |
| 67 | * Loop through the interface list and free all the records... |
| 68 | */ |
| 69 | |
| 70 | for (current = (cupsd_netif_t *)cupsArrayFirst(NetIFList); |
| 71 | current; |
| 72 | current = (cupsd_netif_t *)cupsArrayNext(NetIFList)) |
| 73 | { |
| 74 | cupsArrayRemove(NetIFList, current); |
| 75 | free(current); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | |
| 80 | /* |
no test coverage detected