hpaulson: fix to CmdSequencer memory leak

This commit is contained in:
hpaulson 2020-06-09 16:47:38 -06:00
parent e35e6c8630
commit 540dbbcdbe
3 changed files with 10 additions and 2 deletions

8
.gitignore vendored
View File

@ -64,3 +64,11 @@ core
py_dict
.settings
build-fprime-automatic*
*/Math*
/Ref/bin
/ci-venv/
/ci-logs*
TesterBase.*
GTestBase.*

View File

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

View File

@ -81,7 +81,7 @@ function integration_test {
--show-leak-kinds=all \
--track-origins=yes \
--log-file=${LOG_DIR}/gds-logs/valgrind.log \
${WORKDIR}/bin/*Linux/Ref -a 127.0.0.1 -p 50000 &
${WORKDIR}/bin/*/Ref -a 127.0.0.1 -p 50000 1>${LOG_DIR}/gds-logs/Ref.stdout.log 2>${LOG_DIR}/gds-logs/Ref.stderr.log &
VALGRIND_PID=$!
echo "[INFO] Allowing GDS ${SLEEP_TIME} seconds to start"