mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Invalid read correction (valgrind)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@888 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e5b7ad1a1b
commit
5a1757c5d9
@ -258,7 +258,6 @@ bool ftController::completeFile(std::string hash)
|
||||
|
||||
/* switch map */
|
||||
mCompleted[fc->mHash] = *fc;
|
||||
mDownloads.erase(it);
|
||||
|
||||
|
||||
/* for extralist additions */
|
||||
@ -272,6 +271,7 @@ bool ftController::completeFile(std::string hash)
|
||||
doCallback = fc->mDoCallback;
|
||||
callbackCode = fc->mCallbackCode;
|
||||
|
||||
mDownloads.erase(it);
|
||||
} /******* UNLOCKED ********/
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user