The devel/boehm-gc port
boehm-gc-8.2.4 – garbage collection and memory leak detection for C and C++ (cvsweb github mirror)
Description
The Boehm-Demers-Weiser garbage collection package, for C and C++ - garbage collection and memory leak detection libraries. A garbage collector is something which automatically frees malloc'd memory for you by working out what parts of memory your program no longer has pointers to. As a result, garbage collectors can also inform you of memory leaks (if they find memory they can free, it means you have lost all of your pointers to it, but you didn't free it). C programs should run without change. C++ programs must include a header to use garbage collection. See the man page and header files.WWW: https://hboehm.info/gc/
Maintainer
The OpenBSD ports mailing-list
Multi-packages
boehm-gc-8.2.4 libatomic_ops-7.8.0
Only for arches
aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sh sparc64
Not for arches
m88k