mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-05 01:25:39 -05:00
fixed possible crash due to not checkitn rsIdentity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7997 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6aaf559b3a
commit
2664cf2f9a
@ -1845,7 +1845,7 @@ bool DistributedChatService::processLoadListItem(const RsItem *item)
|
|||||||
return true ;
|
return true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(_default_identity.isNull())
|
if(_default_identity.isNull() && rsIdentity!=NULL)
|
||||||
{
|
{
|
||||||
std::list<RsGxsId> own_ids ;
|
std::list<RsGxsId> own_ids ;
|
||||||
rsIdentity->getOwnIds(own_ids) ;
|
rsIdentity->getOwnIds(own_ids) ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user