HomeClusterLabs Projects

Fix: libcrmcommon: Don't allocate a ptr array until it's needed.

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

Description

Fix: libcrmcommon: Don't allocate a ptr array until it's needed.

This saves from having to just immediately free it (which wasn't being
done, introducing a memory leak) if the input string was NULL.

Details

Provenance
clumensAuthored on Mar 20 2020, 10:08 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.