minor cleanup for consistency with 1.4.7

This commit is contained in:
Guenter Obiltschnig 2014-10-06 14:39:54 +02:00
Родитель eafecb2b22
Коммит c1976b8fd4
1 изменённых файлов: 9 добавлений и 8 удалений

Просмотреть файл

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