Hunting down a C memory leak in a Go program (2021)

11 fanf2 1 5/7/2025, 8:42:03 PM medium.com ↗

Comments (1)

eska · 1d ago
This isn’t a memory leak though, is it?

I think the general solution to avoid this kind of stuff is providing your own memory allocation functions to libraries (don’t know if this library supports that). That way one can limit, track and isolate memory allocations.