rsyslog/tests/omhttp-batch-lokirest-vg.sh
Andre lorbach d0b88c748c omhttp: Fix memory leak in lokirest batchmode
A JSON object was created (valueObj) but not used and also not
released causing a memory leak. This was properly caused by the
initial copy&paste from serializeBatchKafkaRest.

- Also added a valgrind test for lokirest batchmode
  Uncomment "--keep-debuginfo" in testcaseif stack traces
  are incomplete

closes: https://github.com/rsyslog/rsyslog/issues/4766
2022-01-05 22:03:00 +01:00

6 lines
162 B
Bash
Executable File

#!/bin/bash
export USE_VALGRIND="YES"
# export RS_TEST_VALGRIND_EXTRA_OPTS="--keep-debuginfo=yes --leak-check=full"
source ${srcdir:=.}/omhttp-batch-lokirest.sh