HomeClusterLabs Projects

Fix: crmd: memory leak in CIB callbacks

Description

Fix: crmd: memory leak in CIB callbacks

This fixes a memory leak detected via routine valgrind testing.
Previously, some crmd CIB callbacks would free the supplied user_data,
but that would not catch cases where the callback was implicitly removed.

Now, crmd uses the new register_callback_full() method to supply a free
function instead.

Details

Provenance
kgaillotAuthored on Jul 24 2015, 5:59 PM
Parents
rP074168de3140: Fix: attrd: memory leak in legacy attrd's CIB callback
Branches
Unknown
Tags
Unknown

Event Timeline