X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2FCECProcessor.cpp;h=6e5bf19f6f7880609c033433866b85befbc0f469;hb=f3b6afa4b5b7637741592ce4535e34e04e68cb6a;hp=4685132619bba76bc243da41281dd9ab1c88b4fb;hpb=f80cd2082cb6b36e56e00d42c0f2fc104565f7e5;p=deb_libcec.git diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 4685132..6e5bf19 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -1692,5 +1692,6 @@ bool CCECProcessor::GetDeviceInformation(const char *strPort, libcec_configurati config->iPhysicalAddress = m_communication->GetPhysicalAddress(); delete m_communication; + m_communication = NULL; return true; }