minor cleanup for consistency with 1.4.7

This commit is contained in:
Guenter Obiltschnig 2014-10-06 14:39:54 +02:00
parent eafecb2b22
commit c1976b8fd4

View File

@ -67,19 +67,20 @@ HTTPSession::~HTTPSession()
try
{
if (_pBuffer) HTTPBufferAllocator::deallocate(_pBuffer, HTTPBufferAllocator::BUFFER_SIZE);
try
{
close();
}
catch (...)
{
}
delete _pException;
}
catch (...)
{
poco_unexpected();
}
try
{
close();
}
catch (...)
{
poco_unexpected();
}
delete _pException;
}