summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/plugin/Plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/plugin/Plugin.cpp')
-rw-r--r--cpp/test/Ice/plugin/Plugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/Ice/plugin/Plugin.cpp b/cpp/test/Ice/plugin/Plugin.cpp
index 73d86e38930..6ea8d89303b 100644
--- a/cpp/test/Ice/plugin/Plugin.cpp
+++ b/cpp/test/Ice/plugin/Plugin.cpp
@@ -279,6 +279,8 @@ public:
//
test(!_three->isDestroyed());
_destroyed = true;
+ _two = 0;
+ _three = 0;
}
~PluginOneFail()
@@ -313,6 +315,8 @@ public:
{
_destroyed = true;
test(!_one->isDestroyed());
+ _one = 0;
+ _three = 0;
}
~PluginTwoFail()