* Destroy a string list */
| 122 | * Destroy a string list |
| 123 | */ |
| 124 | void |
| 125 | simple_string_list_destroy(SimpleStringList *list) |
| 126 | { |
| 127 | SimpleStringListCell *cell; |
| 128 | |
| 129 | cell = list->head; |
| 130 | while (cell != NULL) |
| 131 | { |
| 132 | SimpleStringListCell *next; |
| 133 | |
| 134 | next = cell->next; |
| 135 | pg_free(cell); |
| 136 | cell = next; |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | /* |
| 141 | * Find first not-touched list entry, if there is one. |
no test coverage detected