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:
csoler 2008-12-11 21:12:53 +00:00
parent e5b7ad1a1b
commit 5a1757c5d9

View File

@ -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 ********/