From c1976b8fd4f1e244bb92cfd2b692d521abc7e761 Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Mon, 6 Oct 2014 14:39:54 +0200 Subject: [PATCH] minor cleanup for consistency with 1.4.7 --- Net/src/HTTPSession.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Net/src/HTTPSession.cpp b/Net/src/HTTPSession.cpp index ba1dd6c1f..1abcaf996 100644 --- a/Net/src/HTTPSession.cpp +++ b/Net/src/HTTPSession.cpp @@ -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; }