              leakfinder - simple memory leak detector
		     version 1.11 of 15Nov2022

This is a wrapper for C/Unix malloc() that helps you find memory
leaks.  There are lots of other tools to do this, such as valgrind
and purify. The advantage of leakfinder is that it's tiny.

You do have to make some source code changes to use it, so it's
not as convenient as the other tools.

  - Add leakfinder.[hc] to your source tree.
  - #include "leakfinder.h"
  - Change all your malloc()/calloc()/realloc()/strdup()/free() calls to
    be upper-case, i.e. MALLOC()/CALLOC()/REALLOC()/STRDUP()/FREE(). The
    arguments stay the same.

On exit, leakfinder will report any allocations that did not get freed.
The report shows the source filename, the line number, and a count of
how many unfreed allocations there were.

If you want to turn leakfinder off but leave it installed in case
you want to use it again later, you can add the compiler flag
-DNO_LEAKFINDER. When compiled with this flag, leakfinder does
nothing and adds zero overhead.

Feedback is welcome - send bug reports, enhancements, checks, money
orders, etc. to the addresses below.

    Jef Poskanzer  jef@mail.acme.com  http://www.acme.com/jef/
