[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [2845] Fixed segfault in the `TestConnectionsScheduler
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [2845] Fixed segfault in the `TestConnectionsScheduler' test class. |
Date: |
Sat, 27 Sep 2008 11:35:48 +0000 |
Revision: 2845
http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=2845
Author: gscrivano
Date: 2008-09-27 11:35:47 +0000 (Sat, 27 Sep 2008)
Log Message:
-----------
Fixed segfault in the `TestConnectionsScheduler' test class.
Modified Paths:
--------------
trunk/myserver/tests/test_connections_scheduler.cpp
Modified: trunk/myserver/tests/test_connections_scheduler.cpp
===================================================================
--- trunk/myserver/tests/test_connections_scheduler.cpp 2008-09-27 11:27:41 UTC
(rev 2844)
+++ trunk/myserver/tests/test_connections_scheduler.cpp 2008-09-27 11:35:47 UTC
(rev 2845)
@@ -220,8 +220,7 @@
scheduler->removeConnection(conn);
CPPUNIT_ASSERT_EQUAL(scheduler->getNumTotalConnections(), 0ul);
-
- delete conn;
+ //The connection is freed by the scheduler.
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [2845] Fixed segfault in the `TestConnectionsScheduler' test class.,
Giuseppe Scrivano <=