From 0884a67ebeb9edb404d78b2cc5c0c666f0be53ad Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 17 Sep 2012 09:47:02 +0200 Subject: [PATCH] Fixed crash in EndpointManager::SubscriptionTimerHandler. --- lib/remoting/endpointmanager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/remoting/endpointmanager.cpp b/lib/remoting/endpointmanager.cpp index 674d413cd..fbf13c0d5 100644 --- a/lib/remoting/endpointmanager.cpp +++ b/lib/remoting/endpointmanager.cpp @@ -322,7 +322,8 @@ void EndpointManager::SubscriptionTimerHandler(void) } } - m_Endpoint->SetSubscriptions(subscriptions); + if (m_Endpoint) + m_Endpoint->SetSubscriptions(subscriptions); } void EndpointManager::ReconnectTimerHandler(void)