mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Added missing fclose to RsAccountsDetail::loadPreferredAccount.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8455 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d17a7faf93
commit
dc62965760
1 changed files with 3 additions and 0 deletions
|
@ -394,7 +394,10 @@ bool RsAccountsDetail::loadPreferredAccount()
|
|||
mPreferredId = RsPeerId(std::string(path));
|
||||
|
||||
if(mPreferredId.isNull())
|
||||
{
|
||||
fclose(ifd);
|
||||
return false ;
|
||||
}
|
||||
}
|
||||
fclose(ifd);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue