cec: fix crash on exit after GetDeviceInformation()
[deb_libcec.git] / src / lib / CECProcessor.cpp
index 4685132619bba76bc243da41281dd9ab1c88b4fb..6e5bf19f6f7880609c033433866b85befbc0f469 100644 (file)
@@ -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;
 }