diff --git a/Rewrite.cpp b/Rewrite.cpp index 745d7fb..fbe3c09 100644 --- a/Rewrite.cpp +++ b/Rewrite.cpp @@ -110,17 +110,7 @@ void CRewrite::processEmbeddedData(unsigned char* data, unsigned char n) return; } - CDMRLC* lc = m_data[m_readNum].getLC(); - if (lc == NULL) { - lcss = m_embeddedLC.getData(data, n); - emb.setLCSS(lcss); - emb.getData(data); - return; - } - - FLCO flco = lc->getFLCO(); - - delete lc; + FLCO flco = m_data[m_readNum].getFLCO(); // Replace any identity embedded data with the new one if (flco == FLCO_GROUP || flco == FLCO_USER_USER)