HomeClusterLabs Projects

Low: libcrmcommon: Set formatters to NULL after freeing it.

Description

Low: libcrmcommon: Set formatters to NULL after freeing it.

This allows reuse, which at least happens in unit tests, but could
potentially come up in some command line tool in the future. Without
this, attempting to reuse formatters will cause a segfault.

Details

Provenance
clumensAuthored on Aug 8 2022, 12:45 PM
Parents
rP0bc6f25a68a2: Test: libcrmcommon: Add unit tests for pcmk__register_format.
Branches
Unknown
Tags
Unknown