| 1507 | } |
| 1508 | |
| 1509 | static |
| 1510 | poptItem 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 | |
| 1526 | poptContext poptFreeContext(poptContext con) |
| 1527 | { |
no test coverage detected