[Linux-HA] Info: CRM Memory Leaks
Andrew Beekhof
beekhof at gmail.com
Mon Feb 26 01:55:31 MST 2007
On 2/24/07, Carson Gaspar <carson at taltos.org> wrote:
> Andrew Beekhof wrote:
>
> > When running tools like Valgrind, please remember that there are results
> > that I cannot do anything about. Eg:
> > * library functions that leak every time they're called
> > * library functions that create "global" data and offer no way to clean
> > it up^
>
> A bit late, but I'm curious which functions you're talking about. In
set_msg_callback() from heartbeat's messaging layer and (i think)
g_main_loop_run() are two off the top of my head.
> general, I try to always use the newer thread-safe versions of the old
there aren't any (or at least very few) threads in heartbeat
> static buffer functions that allow explicit malloc()s (foo_r() style)
> and avoid this sort of thing.
More information about the Linux-HA
mailing list