From: Lars Op den Kamp Date: Thu, 3 Nov 2011 19:14:30 +0000 (+0100) Subject: cec: removed no longer needed cleanup code in ~CLibCEC X-Git-Tag: upstream/2.2.0~1^2~128 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=96e4d044ea72d34ef8f0497267685d2c9fc80de7;p=deb_libcec.git cec: removed no longer needed cleanup code in ~CLibCEC --- diff --git a/src/lib/LibCEC.cpp b/src/lib/LibCEC.cpp index a287609..13e1c11 100644 --- a/src/lib/LibCEC.cpp +++ b/src/lib/LibCEC.cpp @@ -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 */)