mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 12:24:24 -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));
|
mPreferredId = RsPeerId(std::string(path));
|
||||||
|
|
||||||
if(mPreferredId.isNull())
|
if(mPreferredId.isNull())
|
||||||
|
{
|
||||||
|
fclose(ifd);
|
||||||
return false ;
|
return false ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
fclose(ifd);
|
fclose(ifd);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue