* PROFILE_ReleaseFile * * Flush the current profile to disk and remove it from the cache. ***********************************************************************/
| 416 | * Flush the current profile to disk and remove it from the cache. |
| 417 | ***********************************************************************/ |
| 418 | static void PROFILE_ReleaseFile(void) |
| 419 | { |
| 420 | PROFILE_FlushFile(); |
| 421 | PROFILE_Free(CurProfile->section); |
| 422 | //memfree(CurProfile->dos_name); |
| 423 | //memfree(CurProfile->unix_name); |
| 424 | memfree(CurProfile->filename); |
| 425 | CurProfile->changed = FALSE; |
| 426 | CurProfile->section = NULL; |
| 427 | //CurProfile->dos_name = NULL; |
| 428 | //CurProfile->unix_name = NULL; |
| 429 | CurProfile->filename = NULL; |
| 430 | CurProfile->mtime = 0; |
| 431 | } // end of PROFILE_ReleaseFile |
| 432 | |
| 433 | |
| 434 | /*********************************************************************** |
no test coverage detected