… | |
… | |
2362 | { |
2362 | { |
2363 | (void) close( hc->file_fd ); |
2363 | (void) close( hc->file_fd ); |
2364 | hc->file_fd = -1; |
2364 | hc->file_fd = -1; |
2365 | } |
2365 | } |
2366 | if ( hc->write_buf ) |
2366 | if ( hc->write_buf ) |
|
|
2367 | { |
2367 | (void) free (hc->write_buf); |
2368 | (void) free (hc->write_buf); |
|
|
2369 | hc->write_buf = 0; |
|
|
2370 | } |
2368 | #endif |
2371 | #endif |
2369 | if ( hc->file_address != (char*) 0 ) |
2372 | if ( hc->file_address != (char*) 0 ) |
2370 | { |
2373 | { |
2371 | mmc_unmap( hc->file_address, &(hc->sb), nowP ); |
2374 | mmc_unmap( hc->file_address, &(hc->sb), nowP ); |
2372 | hc->file_address = (char*) 0; |
2375 | hc->file_address = (char*) 0; |