Fixed leaking HTTPRequest objects
This commit is contained in:
parent
0c3fd5e77d
commit
8c57c5c1f2
@ -129,6 +129,8 @@ void cHTTPConnection::DataReceived(const char * a_Data, int a_Size)
|
||||
if (m_CurrentRequestBodyRemaining == 0)
|
||||
{
|
||||
m_HTTPServer.RequestFinished(*this, *m_CurrentRequest);
|
||||
delete m_CurrentRequest;
|
||||
m_CurrentRequest = NULL;
|
||||
m_State = wcsRecvIdle;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user