HomeClusterLabs Projects

XML: schemas.c: fix possible memleak + less magic with numeric constants

Description

XML: schemas.c: fix possible memleak + less magic with numeric constants

Memory leak spotted by Ken (thanks); demagicizing numeric constants
is akin to 16eeb6882 landed in the interim (possible annoyance with
repeated strings could be mitigated with suitable macros).

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Jun 27 2018, 10:24 AM
Parents
rP55f559456c9e: Merge pull request #1518 from kgaillot/changes20
Branches
Unknown
Tags
Unknown

Event Timeline