HomeClusterLabs Projects

Fix: libcrmcommon: Set out->priv to NULL in free_priv.

Description

Fix: libcrmcommon: Set out->priv to NULL in free_priv.

init won't do anything if priv is not NULL, so when the private data is
freed, also set it to NULL. This prevents segfaults when reset is
called.

Details

Provenance
clumensAuthored on Jul 16 2020, 12:53 PM
Parents
rP971b4e9abdbe: Merge pull request #2105 from clumens/only-resource-prep
Branches
Unknown
Tags
Unknown

Event Timeline