qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r803881 - /qpid/trunk/qpid/cpp/src/qpid/broker/QueueCleaner.cpp
Date Thu, 13 Aug 2009 13:46:09 GMT
Author: aconway
Date: Thu Aug 13 13:46:09 2009
New Revision: 803881

URL: http://svn.apache.org/viewvc?rev=803881&view=rev
Log:
Check for null pointer in ~QueueCleaner.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/QueueCleaner.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/QueueCleaner.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/QueueCleaner.cpp?rev=803881&r1=803880&r2=803881&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/QueueCleaner.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/QueueCleaner.cpp Thu Aug 13 13:46:09 2009
@@ -30,7 +30,7 @@
 
 QueueCleaner::~QueueCleaner()
 {
-    task->cancel();
+    if (task) task->cancel();
 }
 
 void QueueCleaner::start(qpid::sys::Duration p)



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message