Follow

Just fixed a potential memory corruption bug detected by -build (delete/free mismatch).

If your project compiles with /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.

Sign in to participate in the conversation
Mastodon

One of the first Mastodon instances, there is no specific topic we're into, just enjoy your time!