summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/stream/Client.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-07-05 15:13:08 +0200
committerBenoit Foucher <benoit@zeroc.com>2017-07-05 15:13:08 +0200
commitf02bee6f78ca183fc6ba8d21154af20b9075077d (patch)
tree04d0f8d805386a43bd647cb887bc9260fc74282e /cpp/test/Ice/stream/Client.cpp
parentAdditional fixes for ICE-8204 - Objective-C leaks (diff)
downloadice-f02bee6f78ca183fc6ba8d21154af20b9075077d.tar.bz2
ice-f02bee6f78ca183fc6ba8d21154af20b9075077d.tar.xz
ice-f02bee6f78ca183fc6ba8d21154af20b9075077d.zip
Fixed IceSSL SecureTransport memory leaks
Diffstat (limited to 'cpp/test/Ice/stream/Client.cpp')
-rw-r--r--cpp/test/Ice/stream/Client.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/test/Ice/stream/Client.cpp b/cpp/test/Ice/stream/Client.cpp
index 9a99afd2911..c6a0960247b 100644
--- a/cpp/test/Ice/stream/Client.cpp
+++ b/cpp/test/Ice/stream/Client.cpp
@@ -855,6 +855,9 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
out.finished(data);
Ice::InputStream in(communicator, data);
+#ifndef ICE_CPP11_MAPPING
+ in.setCollectObjects(true);
+#endif
MyClassS arr2;
in.read(arr2);
in.readPendingValues();
@@ -887,6 +890,9 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
out2.finished(data);
Ice::InputStream in2(communicator, data);
+#ifndef ICE_CPP11_MAPPING
+ in2.setCollectObjects(true);
+#endif
MyClassSS arr2S;
in2.read(arr2S);
test(arr2S.size() == arrS.size());
@@ -1057,6 +1063,9 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
out.finished(data);
Ice::InputStream in(communicator, data);
+#ifndef ICE_CPP11_MAPPING
+ in.setCollectObjects(true);
+#endif
try
{
in.throwException();