summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-06 20:48:50 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-06 20:48:50 +0000
commitd198089355bcd95d55b26eff8a88ec8cbd1f3b4b (patch)
tree9cf307ea3d1a9011e98f858e1b345b62c009fa30
parentc99e93de99233c4dd4fa72ab56adfb58ba028ed0 (diff)
downloadATCD-d198089355bcd95d55b26eff8a88ec8cbd1f3b4b.tar.gz
Fixed memory leak by reference counting the servants.
-rw-r--r--TAO/tests/RTCORBA/Thread_Pool/test_i.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tests/RTCORBA/Thread_Pool/test_i.h b/TAO/tests/RTCORBA/Thread_Pool/test_i.h
index cbf1bca61c2..c5d058eb758 100644
--- a/TAO/tests/RTCORBA/Thread_Pool/test_i.h
+++ b/TAO/tests/RTCORBA/Thread_Pool/test_i.h
@@ -10,7 +10,9 @@
#include "testS.h"
-class test_i : public POA_test
+class test_i :
+ public POA_test,
+ public PortableServer::RefCountServantBase
{
public:
/// Constructor.