summaryrefslogtreecommitdiff
path: root/examples/APG
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-01-12 23:16:02 +0000
committerSteve Huston <shuston@riverace.com>2004-01-12 23:16:02 +0000
commitfb631fb373c82ca04b660d7f7317ebfcb46e7159 (patch)
tree0ae4b1900fbb9b92ec4095d16b91c2eee22680e6 /examples/APG
parent7ff7285f2b4f66b33a457020a63ff68d271a9c3d (diff)
downloadATCD-fb631fb373c82ca04b660d7f7317ebfcb46e7159.tar.gz
ChangeLogTag:Mon Jan 12 17:52:17 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples/APG')
-rw-r--r--examples/APG/ThreadPools/Futures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/APG/ThreadPools/Futures.cpp b/examples/APG/ThreadPools/Futures.cpp
index a2ea3193c45..56471146ac2 100644
--- a/examples/APG/ThreadPools/Futures.cpp
+++ b/examples/APG/ThreadPools/Futures.cpp
@@ -106,7 +106,6 @@ public:
// Invoke the request
int result = request->call ();
- delete request;
if (result == -1)
break;
@@ -269,6 +268,7 @@ Manager::shut_down (void)
ACE_TEXT ("(%t) Worker %d shut down.\n"),
thread_id (worker)));
+ delete req;
delete worker;
}