Date: Monday, January 2, 2006 @ 17:19:52
Author: marc
Path: /cvsroot/carob/carob/test
Modified: TestConnect.cpp (1.11 -> 1.12)
Fixed connectionPtr initialization (reported by valgrind)
-----------------+
TestConnect.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: carob/test/TestConnect.cpp
diff -u carob/test/TestConnect.cpp:1.11 carob/test/TestConnect.cpp:1.12
--- carob/test/TestConnect.cpp:1.11 Wed Dec 28 18:14:57 2005
+++ carob/test/TestConnect.cpp Mon Jan 2 17:19:52 2006
@@ -31,6 +31,7 @@
void TestConnect::setUp()
{
+ connectionPtr = NULL;
}
void TestConnect::tearDown()
@@ -121,8 +122,6 @@
+ ae.description());
CPPUNIT_ASSERT(true);
}
- delete connectionPtr;
- connectionPtr = NULL;
}
void TestConnect::testConnectGood()
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits