HomeClusterLabs Projects

Fix: scheduler: avoid memory leak when displaying clones

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Fix: scheduler: avoid memory leak when displaying clones

Previously, pe__clone_default() unconditionally created a hash table for
stopped instances, but didn't free it in every code path.

Now, only create the table when we have something to put in it and might
actually use it, and ensure it always gets freed.

Details

Provenance
kgaillotAuthored on Jan 20 2022, 4:03 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.