Fix leaks in fcxml.c, fc-match.c, and tests.

Fix leaks reported by AddressSanitizer when running 'make check'.
4 files changed