I think there's an error in freeing memory in the destructor for the ProjectorByBinPairUsingProjMatrixByBin class when used with the SPECTUB class
I'll include some minimal examples as well as valgrind output below.
Created a new issue here as opposed to SIRF issue #1101 as it's definitely a STIR issue.
I've tried recompiling SIRF/STIR without OpenMP as suggested in the issue above, but it hasn't made any difference.