summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Outgoing.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2016-03-09 15:29:09 -0800
committerMark Spruiell <mes@zeroc.com>2016-03-09 15:29:09 -0800
commit876a3721e4ed7a1eddf071dff59b0ec965724f76 (patch)
tree4357a8764171b1905be50474fe1c841e5ca65989 /cpp/src/Ice/Outgoing.cpp
parentC++11 string literal fixes (diff)
downloadice-876a3721e4ed7a1eddf071dff59b0ec965724f76.tar.bz2
ice-876a3721e4ed7a1eddf071dff59b0ec965724f76.tar.xz
ice-876a3721e4ed7a1eddf071dff59b0ec965724f76.zip
fixing leak in Outgoing
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r--cpp/src/Ice/Outgoing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp
index 82bdbaba1e2..c97d5cb3d16 100644
--- a/cpp/src/Ice/Outgoing.cpp
+++ b/cpp/src/Ice/Outgoing.cpp
@@ -501,7 +501,7 @@ Outgoing::completed(InputStream& is)
ex->id = ident;
ex->facet = facet;
ex->operation = operation;
- ICE_RESET_EXCEPTION(_exception, ex->ice_clone());
+ ICE_RESET_EXCEPTION(_exception, ex);
_state = StateLocalException; // The state must be set last, in case there is an exception.
break;
}