summaryrefslogtreecommitdiff
path: root/ACE/examples/Timer_Queue/main_thread_custom_handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/Timer_Queue/main_thread_custom_handler.cpp')
-rw-r--r--ACE/examples/Timer_Queue/main_thread_custom_handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/examples/Timer_Queue/main_thread_custom_handler.cpp b/ACE/examples/Timer_Queue/main_thread_custom_handler.cpp
index cb4221ac394..9f33e5101e1 100644
--- a/ACE/examples/Timer_Queue/main_thread_custom_handler.cpp
+++ b/ACE/examples/Timer_Queue/main_thread_custom_handler.cpp
@@ -30,7 +30,7 @@ ACE_TMAIN (int, ACE_TCHAR *[])
{
// Auto ptr ensures that the driver memory is released
// automatically.
- THREAD_TIMER_QUEUE_TEST_DRIVER *tqtd;
+ THREAD_TIMER_QUEUE_TEST_DRIVER *tqtd = 0;
ACE_NEW_RETURN (tqtd, Thread_Timer_Queue_Custom_Handler_Test, -1);
auto_ptr <THREAD_TIMER_QUEUE_TEST_DRIVER> driver (tqtd);