fix memory leak in utp_socket_impl

This commit is contained in:
Arvid Norberg 2012-07-21 14:33:01 +00:00
parent 479f5061b4
commit 6aabc14e19
1 changed files with 2 additions and 0 deletions

View File

@ -1094,6 +1094,8 @@ utp_socket_impl::~utp_socket_impl()
{
free(*i);
}
free(m_nagle_packet);
}
bool utp_socket_impl::should_delete() const