| 257 | } *__ccon; |
| 258 | |
| 259 | static void cfg_context_reset_all(void) |
| 260 | { |
| 261 | struct cfg_context *pos = NULL, *it = __ccon; |
| 262 | |
| 263 | while ( it && (it != __ccon || !pos) ) { |
| 264 | pos = it; |
| 265 | it = it->next; |
| 266 | free((char*)pos->path); |
| 267 | free((char*)pos->dirname); |
| 268 | free(pos->lines); |
| 269 | free(pos); |
| 270 | }; |
| 271 | __ccon = NULL; |
| 272 | } |
| 273 | |
| 274 | static struct cfg_context *cfg_context_new_file(const char *path) |
| 275 | { |
no outgoing calls
no test coverage detected