mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 17:07:17 -05: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
@ -394,8 +394,11 @@ 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…
Reference in New Issue
Block a user