llvm reports a 1 byte memory leak in boost::gil::read_image when provided with a valid jpeg image. This was produced when using a boost::gil::any_image<boost::gil::gray8_image_t, boost::gil::gray16_image_t, boost::gil::rgb8_image_t, boost::gil::rgb16_image_t>
Actual behavior
llvm reports a 1 byte memory leak in boost::gil::read_image when provided with a valid jpeg image. This was produced when using a
boost::gil::any_image<boost::gil::gray8_image_t, boost::gil::gray16_image_t, boost::gil::rgb8_image_t, boost::gil::rgb16_image_t>
Expected behavior
There should not be a memory leak in this case.
C++ Minimal Working Example
Environment
Compiler version: gcc version 10.2.1 20201125 (Red Hat 10.2.1-9) (GCC) clang version 10.0.1 (Fedora 10.0.1-3.fc32)
Build settings:
Docker build/test environment:
Build script:
<boost/version.hpp>
): 107500