mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 13:04:17 -06:00
hpaulson: fix to CmdSequencer memory leak
This commit is contained in:
parent
e35e6c8630
commit
540dbbcdbe
8
.gitignore
vendored
8
.gitignore
vendored
@ -64,3 +64,11 @@ core
|
|||||||
py_dict
|
py_dict
|
||||||
.settings
|
.settings
|
||||||
build-fprime-automatic*
|
build-fprime-automatic*
|
||||||
|
|
||||||
|
|
||||||
|
*/Math*
|
||||||
|
/Ref/bin
|
||||||
|
/ci-venv/
|
||||||
|
/ci-logs*
|
||||||
|
TesterBase.*
|
||||||
|
GTestBase.*
|
||||||
@ -235,7 +235,6 @@ bool constructApp(bool dump, U32 port_number, char* hostname) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void exitTasks(void) {
|
void exitTasks(void) {
|
||||||
cmdSeq.deallocateBuffer(seqMallocator);
|
|
||||||
rateGroup1Comp.exit();
|
rateGroup1Comp.exit();
|
||||||
rateGroup2Comp.exit();
|
rateGroup2Comp.exit();
|
||||||
rateGroup3Comp.exit();
|
rateGroup3Comp.exit();
|
||||||
@ -249,5 +248,6 @@ void exitTasks(void) {
|
|||||||
cmdSeq.exit();
|
cmdSeq.exit();
|
||||||
pingRcvr.exit();
|
pingRcvr.exit();
|
||||||
socketIpDriver.exitSocketTask();
|
socketIpDriver.exitSocketTask();
|
||||||
|
cmdSeq.deallocateBuffer(seqMallocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -81,7 +81,7 @@ function integration_test {
|
|||||||
--show-leak-kinds=all \
|
--show-leak-kinds=all \
|
||||||
--track-origins=yes \
|
--track-origins=yes \
|
||||||
--log-file=${LOG_DIR}/gds-logs/valgrind.log \
|
--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=$!
|
VALGRIND_PID=$!
|
||||||
|
|
||||||
echo "[INFO] Allowing GDS ${SLEEP_TIME} seconds to start"
|
echo "[INFO] Allowing GDS ${SLEEP_TIME} seconds to start"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user