diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-02-26 14:06:50 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-02-26 14:06:50 +0100 |
commit | 8f657a067534826d24b6630e88f61c0c0e6521ef (patch) | |
tree | 677c32d4ab992b9a8f3bd94af5cd963c8211280e /cpp/test/Ice/plugin/Plugin.cpp | |
parent | Fixed mis-named property in CHANGES (diff) | |
download | ice-8f657a067534826d24b6630e88f61c0c0e6521ef.tar.bz2 ice-8f657a067534826d24b6630e88f61c0c0e6521ef.tar.xz ice-8f657a067534826d24b6630e88f61c0c0e6521ef.zip |
Fixed test leaks detected by valgrind
Diffstat (limited to 'cpp/test/Ice/plugin/Plugin.cpp')
-rw-r--r-- | cpp/test/Ice/plugin/Plugin.cpp | 4 |
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() |