HomeClusterLabs Projects

Refactor: daemons: Do not try to free and alloc schedulerd_api repeatedly.

Description

Refactor: daemons: Do not try to free and alloc schedulerd_api repeatedly.

Instead, only allocate it once from pe_subsystem_new and only free it
once from pe_subsystem_free. In between, simply disconnect and
reconnect as needed. This prevents leaking the API object memory.

Details

Provenance
clumensAuthored on Nov 2 2021, 5:06 PM
Parents
rP1edc83a89675: Low: daemons: Free memory at the end of fail_pending_op.
Branches
Unknown
Tags
Unknown

Event Timeline