malloc leak detection available in -current
by from OpenBSD Journal on (#6AW0Q)
OpenBSD -current just grew a new tool for developers working on OpenBSD to detect unsafe behaviors in their code. OpenBSD lets you more easily track memory allocations and whether allocations are properly freed after use.
In a message to tech@, Otto Moerbeek (otto@) announced the new functionality:
Subject: malloc leak detection available in -currentFrom: Otto Moerbeek <otto () drijf ! net>Date: 2023-04-17 6:43:19Hi,OpenBSD current now has built-in malloc leak detection.Make sure you run current and have debug symbols (OpenBSD baselibraries have debug symbols, compile your own program with -g).