From 813bc55a8496875cef52e6da42d608e4d2fa35da Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 24 May 2008 12:05:08 +0000 Subject: Fix memory leak if we send STARTTLS twice, thanks special and psychon git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9800 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/testsuite.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/testsuite.cpp') diff --git a/src/testsuite.cpp b/src/testsuite.cpp index 71ace375e..1cee7500c 100644 --- a/src/testsuite.cpp +++ b/src/testsuite.cpp @@ -56,7 +56,6 @@ TestSuite::TestSuite(InspIRCd* Instance) : ServerInstance(Instance) cout << "(3) Unload a module\n"; cout << "(4) Threading tests\n"; cout << "(5) Wildcard and CIDR tests\n"; - cout << "(6) irc::string -> std::string dynamic cast\n"; cout << endl << "(X) Exit test suite\n"; @@ -87,14 +86,6 @@ TestSuite::TestSuite(InspIRCd* Instance) : ServerInstance(Instance) case '5': cout << (DoWildTests() ? "\nSUCCESS!\n" : "\nFAILURE\n"); break; - case '6': - { - std::string* a = new std::string("test"); - irc::string* b = (irc::string)a; - cout << "std::string value: '" << *a << "' irc::string value: '" << *b << "'" << endl; - delete a; - } - break; case 'X': return; break; -- cgit v1.2.3