mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 09:41:29 -05:00
added missing delete in p3discovery2::processContactInfo()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8fb6670857
commit
070630d297
@ -855,6 +855,7 @@ void p3discovery2::processContactInfo(const SSLID &fromId, const RsDiscContactIt
|
|||||||
std::cerr << item->pgpId << " Ignoring Info on self";
|
std::cerr << item->pgpId << " Ignoring Info on self";
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
delete item;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -885,6 +886,7 @@ void p3discovery2::processContactInfo(const SSLID &fromId, const RsDiscContactIt
|
|||||||
mNetMgr->netAssistKnownPeer(item->sslId, item->extAddrV4.addr,
|
mNetMgr->netAssistKnownPeer(item->sslId, item->extAddrV4.addr,
|
||||||
NETASSIST_KNOWN_PEER_FOF | NETASSIST_KNOWN_PEER_OFFLINE);
|
NETASSIST_KNOWN_PEER_FOF | NETASSIST_KNOWN_PEER_OFFLINE);
|
||||||
}
|
}
|
||||||
|
delete item;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -923,6 +925,8 @@ void p3discovery2::processContactInfo(const SSLID &fromId, const RsDiscContactIt
|
|||||||
|
|
||||||
if(should_notify_discovery)
|
if(should_notify_discovery)
|
||||||
RsServer::notify()->notifyDiscInfoChanged();
|
RsServer::notify()->notifyDiscInfoChanged();
|
||||||
|
|
||||||
|
delete item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user