mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
Corrected two nasty bugs in file transfer which caused random core dumps (at least on ubuntu 32 and 64 bits)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@957 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c43b3ae617
commit
3012683143
2 changed files with 10 additions and 2 deletions
|
@ -204,8 +204,8 @@ void ftServer::run()
|
|||
for (it = toDels.begin();it != toDels.end(); it++)
|
||||
{
|
||||
sit = mFtDataplex->mServers.find(*it);
|
||||
mFtDataplex->mServers.erase(sit);
|
||||
delete sit->second;
|
||||
mFtDataplex->mServers.erase(sit);
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue