Fix RsGxsDataAccess req delete when failed.

This commit is contained in:
Phenom 2020-12-03 10:58:59 +01:00
parent 8f5656433a
commit 5f67710f16

View File

@ -833,8 +833,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