Mismatched new[]/delete in WebRequest::Process()

This commit is contained in:
jacksonmj 2013-12-23 19:16:04 +00:00
parent 4459bf5363
commit 7fdc4dc83b

View File

@ -122,7 +122,7 @@ RequestBroker::ProcessResponse WebRequest::Process(RequestBroker & rb)
std::strcpy(userName, format::NumberToString<int>(user.ID).c_str());
std::strcpy(userSession, user.SessionID.c_str());
http_auth_headers(HTTPContext, userName, NULL, userSession);
delete userSession;
delete[] userSession;
}
}
}