Also, mismatched new[]/delete in APIRequest::Process()

This commit is contained in:
jacksonmj 2013-12-23 17:21:14 +00:00
parent aa74deb6d5
commit 4459bf5363

View File

@ -122,7 +122,7 @@ RequestBroker::ProcessResponse APIRequest::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;
}
}
//RequestTime = time(NULL);