HomeClusterLabs Projects

cfg: Free new_config interfaces on failure

Description

cfg: Free new_config interfaces on failure

new_config interfaces was freed on success, but not if some previous
configuration step failed.

Solution is to move free of interfaces to same point as where
orig_interfaces are freed.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>

Details

Provenance
jfriesseAuthored on Aug 21 2024, 11:57 AM
Parents
rC53730fa7bde1: main: support lock pid file arg
Branches
Unknown
Tags
Unknown