1 The Boehm-Weiser garbage collection package, for C and C++ -
2 garbage collection and memory leak detection libraries.
4 A garbage collector is something which automatically frees malloc'd
5 memory for you by working out what parts of memory your program
6 no longer has pointers to. As a result, garbage collectors can also
7 inform you of memory leaks (if they find memory they can free, it means
8 you have lost all of your pointers to it, but you didn't free it).
10 C programs may be linked against either of these, and should run (with
11 GC or leak detection) without change. C++ programs must include a header
12 to use garbage collection, though leak detection should work without
13 such source code modifications. See the man page and header files.
15 ps: garbage collection is addictive.
17 WWW: http://www.hboehm.info/gc/