hpaulson: fix to memory leak in topology.cpp

This commit is contained in:
hpaulson 2020-06-09 14:29:35 -06:00
parent 750b3fccea
commit e35e6c8630
2 changed files with 5 additions and 0 deletions

View File

@ -235,6 +235,7 @@ bool constructApp(bool dump, U32 port_number, char* hostname) {
}
void exitTasks(void) {
cmdSeq.deallocateBuffer(seqMallocator);
rateGroup1Comp.exit();
rateGroup2Comp.exit();
rateGroup3Comp.exit();

View File

@ -36,7 +36,11 @@ function fputil_action {
fi
# Generate is only needed when it isn't being tested
<<<<<<< HEAD
if [[ "${TARGET}" != "generate" ]] && [[ "${TEST_TYPE}" != "QUICK" ]]
=======
if [[ "${TARGET}" != "generate" ]]
>>>>>>> hpaulson: fix to memory leak in topology.cpp
then
echo "[INFO] Generating build cache before ${WORKDIR//\//_} '${TARGET}' execution"
fprime-util "generate" --jobs "${JOBS}" ${PLATFORM} > "${LOG_DIR}/${WORKDIR//\//_}_pregen.out.log" 2> "${LOG_DIR}/${WORKDIR//\//_}_pregen.err.log" \