summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index b5c5f1f4c8a..acb44b529af 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -3453,11 +3453,9 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
C << eb;
C << nl << "catch(const ::Ice::UserException& __ex)";
C << sb;
- C << nl << "__cleanup();";
C << nl << "ice_exception(__ex);";
C << nl << "return;";
C << eb;
- C << nl << "__cleanup();";
C << nl << "ice_response" << spar << args << epar << ';';
C << eb;
}