Using Heaptrack to Find Memory Leaks
Hal Murray
hmurray at megapathdsl.net
Thu May 24 18:36:58 UTC 2018
If ntpd exits cleanly, it should clean up most of the allocated memory. I
assume the idea is to help raise the signal/noise ratio when looking for
leaks.
There is an emalloc.c in libntp/
There are a few calls to malloc rather than emalloc in ntpd/ We should fix
them, and poke around to make sure everybody is cooperating.
Is valgrind useful for this?
We should add a note in devel/ about how to find leaks.
--
These are my opinions. I hate spam.
More information about the devel
mailing list