* adfCloseFile * */
| 341 | * |
| 342 | */ |
| 343 | void adfCloseFile(struct File *file) |
| 344 | { |
| 345 | |
| 346 | if (file==0) |
| 347 | return; |
| 348 | /*puts("adfCloseFile in");*/ |
| 349 | |
| 350 | adfFlushFile(file); |
| 351 | |
| 352 | if (file->currentExt) |
| 353 | free(file->currentExt); |
| 354 | |
| 355 | if (file->currentData) |
| 356 | free(file->currentData); |
| 357 | |
| 358 | free(file->fileHdr); |
| 359 | free(file); |
| 360 | |
| 361 | /*puts("adfCloseFile out");*/ |
| 362 | } |
| 363 | |
| 364 | |
| 365 | /* |
no test coverage detected