Fix memory leak.
This commit is contained in:
parent
22b26dc985
commit
f48f20da94
@ -207,7 +207,10 @@ namespace Online
|
||||
me->m_request_queue.getData().pop();
|
||||
|
||||
if (me->m_current_request->getType() == Request::RT_QUIT)
|
||||
{
|
||||
delete me->m_current_request;
|
||||
break;
|
||||
}
|
||||
|
||||
me->m_request_queue.unlock();
|
||||
me->m_current_request->execute();
|
||||
|
Loading…
Reference in New Issue
Block a user