Merge pull request #2141 from PhenomRetroShare/Fix_DataAccessReqDelWhenFailed

Fix RsGxsDataAccess req delete when failed.
This commit is contained in:
csoler 2021-01-14 21:42:35 +01:00 committed by GitHub
commit 7f5f03bcda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -834,8 +834,8 @@ void RsGxsDataAccess::processRequests()
}
else
{
req->status = FAILED;
mPublicToken[req->token] = FAILED;
delete req;//req belongs to no one now
#ifdef DATA_DEBUG
RsDbg() << " Request failed. Marking as FAILED." << std::endl;
#endif