mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -141,6 +141,7 @@ HashCache::HashCache(const std::string& path)
|
||||
{
|
||||
std::cerr << "Cannot read from file " + _path+".bin" << ": something's wrong." << std::endl;
|
||||
free(buffer) ;
|
||||
fclose(F) ;
|
||||
return ;
|
||||
}
|
||||
fclose(F) ;
|
||||
|
Loading…
Reference in New Issue
Block a user