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:
thunder2 2015-06-14 22:23:26 +00:00
parent d17a7faf93
commit dc62965760

View File

@ -394,7 +394,10 @@ bool RsAccountsDetail::loadPreferredAccount()
mPreferredId = RsPeerId(std::string(path));
if(mPreferredId.isNull())
{
fclose(ifd);
return false ;
}
}
fclose(ifd);
return true;