--- yoda/techmodel/CalibAcReader.cpp 2004/07/17 20:03:38 1.2 +++ yoda/techmodel/CalibAcReader.cpp 2004/08/24 16:01:57 1.3 @@ -1,6 +1,6 @@ /** @file * $Source: /home/cvsmanager/yoda/techmodel/CalibAcReader.cpp,v $ - * $Id: CalibAcReader.cpp,v 1.1 2004/07/08 12:31:42 kusanagi Exp $ + * $Id: CalibAcReader.cpp,v 1.2 2004/07/17 20:03:38 kusanagi Exp $ * $Author: kusanagi $ * * Implementation of the ArrDumpReader class. @@ -36,7 +36,7 @@ * Get a string with the version info of the algorithm. */ std::string CalibAcReader::GetVersionInfo(void) const { - return "$Header: /home/cvsmanager/yoda/techmodel/CalibAcReader.cpp,v 1.1 2004/07/08 12:31:42 kusanagi Exp $\n"; + return "$Header: /home/cvsmanager/yoda/techmodel/CalibAcReader.cpp,v 1.2 2004/07/17 20:03:38 kusanagi Exp $\n"; } /** @@ -87,10 +87,10 @@ CalibAc->iCRC = output.iCRC; CalibAc->tail = output.tail; CalibAc->CRC = output.CRC; - free(subData); } else { cat << log4cpp::Priority::ERROR << "Wrong CRC on Subpacket in ArrDump Packet " << "\n " << log4cpp::CategoryStream::ENDLINE; } + delete [] subData; }