(svn r15206) -Fix [FS#2567]: memory corruption due to not properly cleanup up the mess when cancelling a download

This commit is contained in:
rubidium
2009-01-22 10:09:56 +00:00
parent 92b9ff3f96
commit 4f5a8b15ed
5 changed files with 13 additions and 9 deletions

View File

@@ -50,12 +50,6 @@ bool ContentInfo::IsValid() const
return this->state < ContentInfo::INVALID && this->type >= CONTENT_TYPE_BEGIN && this->type < CONTENT_TYPE_END;
}
NetworkRecvStatus NetworkContentSocketHandler::CloseConnection()
{
this->has_quit = true;
return NETWORK_RECV_STATUS_OKAY;
}
void NetworkContentSocketHandler::Close()
{
CloseConnection();