Skip to content

Fix memory leak from CompressZFP.

Podhorszki, Norbert requested to merge github/fork/NAThompson/master into master

Created by: NAThompson

This only fixes one memory leak, in one context in which it's being called, but still an improvement. To reproduce:

ADIOS2/build$  cmake -DCMAKE_CXX_COMPILER="clang++" -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_FLAGS="-fsanitize=address" -DADIOS2_USE_MPI=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS} -fsanitize=address" -DCMAKE_SHARED_LINKER_FLAGS="${CMAKE_SHARED_LINKER_FLAGS} -fsanitize=address" ../
ADIOS2/build$ make -j`nproc`
ADIOS2/build$ ctest -R BPWRZFP.ADIOS2BPWRZFP1D -V # all will fail without this PR; none will fail with it

Merge request reports