MCPcopy Create free account
hub / github.com/RsyncProject/rsync / poptFreeItems

Function poptFreeItems

popt/popt.c:1509–1524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1507}
1508
1509static
1510poptItem poptFreeItems(poptItem items, int nitems)
1511{
1512 if (items != NULL) {
1513 poptItem item = items;
1514 while (--nitems >= 0) {
1515 item->option.longName = _free(item->option.longName);
1516 item->option.descrip = _free(item->option.descrip);
1517 item->option.argDescrip = _free(item->option.argDescrip);
1518 item->argv = _free(item->argv);
1519 item++;
1520 }
1521 _free(items);
1522 }
1523 return NULL;
1524}
1525
1526poptContext poptFreeContext(poptContext con)
1527{

Callers 1

poptFreeContextFunction · 0.85

Calls 1

_freeFunction · 0.85

Tested by

no test coverage detected