mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
added missing fclose in error handling case (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
62dc21d3b7
commit
7c43bd27d3
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ HashCache::HashCache(const std::string& path)
|
||||||
{
|
{
|
||||||
std::cerr << "Cannot read from file " + _path+".bin" << ": something's wrong." << std::endl;
|
std::cerr << "Cannot read from file " + _path+".bin" << ": something's wrong." << std::endl;
|
||||||
free(buffer) ;
|
free(buffer) ;
|
||||||
|
fclose(F) ;
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
fclose(F) ;
|
fclose(F) ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue