MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsdNetIFFree

Function cupsdNetIFFree

scheduler/network.c:60–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 */
59
60static void
61cupsdNetIFFree(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/*

Callers 1

cupsdNetIFUpdateFunction · 0.85

Calls 3

cupsArrayFirstFunction · 0.85
cupsArrayNextFunction · 0.85
cupsArrayRemoveFunction · 0.85

Tested by

no test coverage detected