From 3e5bd14de5a0dd4da4c18cdb1a661959f4f8ad9f Mon Sep 17 00:00:00 2001 From: Raymond Wagner Date: Sat, 25 Aug 2012 16:39:20 -0400 Subject: [PATCH] Properly initializes UDP message listener. This properly initializes the ServerPool reference to NULL in the UDP Listener class, following 8532584f4, allowing its current state to be properly detected, and allowing it to be brought up and down successfully. Fixes #11037 --- mythtv/libs/libmythui/mythudplistener.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mythtv/libs/libmythui/mythudplistener.cpp b/mythtv/libs/libmythui/mythudplistener.cpp index dc64629bc5f..ec6902b4a31 100644 --- a/mythtv/libs/libmythui/mythudplistener.cpp +++ b/mythtv/libs/libmythui/mythudplistener.cpp @@ -11,7 +11,8 @@ #define LOC QString("UDPListener: ") -MythUDPListener::MythUDPListener() +MythUDPListener::MythUDPListener() : + m_socketPool(NULL) { Enable(); }