mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-28 00:07:09 -05: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
@ -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…
x
Reference in New Issue
Block a user