cec: removed no longer needed cleanup code in ~CLibCEC
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 3 Nov 2011 19:14:30 +0000 (20:14 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 3 Nov 2011 19:14:30 +0000 (20:14 +0100)
src/lib/LibCEC.cpp

index a287609e0e89258d27d1171bdf0e5c594368905a..13e1c117b6658fff466f3e56a6bac1e6f7b7b7ac 100644 (file)
@@ -55,14 +55,7 @@ CLibCEC::~CLibCEC(void)
 {
   Close();
   delete m_cec;
-  m_cec = NULL;
-
   delete m_comm;
-  m_comm = NULL;
-
-  m_logBuffer.Clear();
-  m_keyBuffer.Clear();
-  m_commandBuffer.Clear();
 }
 
 bool CLibCEC::Open(const char *strPort, uint32_t iTimeoutMs /* = 10000 */)