Just fixed a potential memory corruption bug detected by #scan-build (delete/free mismatch).
If your project compiles with #clang/clang++, invocation can be as easy as:
$ scan-build make
There may be lots of output generated, but catching bugs like the above *before* it's actually triggered make it really worthwhile to plow through the warnings.
One of the first Mastodon instances, there is no specific topic we're into, just enjoy your time!