mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-17 10:59:38 -04:00
fixed missing fclose before rename
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7833 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4d26726a88
commit
eacdbe6ddd
1 changed files with 2 additions and 0 deletions
|
@ -269,6 +269,8 @@ void HashCache::save()
|
||||||
goto save_close;
|
goto save_close;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fclose(F) ;
|
||||||
|
|
||||||
RsDirUtil::renameFile(_path+".bin.tmp",_path+".bin") ;
|
RsDirUtil::renameFile(_path+".bin.tmp",_path+".bin") ;
|
||||||
#ifdef FIM_DEBUG
|
#ifdef FIM_DEBUG
|
||||||
std::cerr << "done." << std::endl ;
|
std::cerr << "done." << std::endl ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue