Fix leaks in fcxml.c, fc-match.c, and tests.
Fix leaks reported by AddressSanitizer when running 'make check'.
This is related to but independent of !148 (merged) . !148 (merged) fixes a test with a wild free
and also one leak. This fixes the other leaks reported when running all the tests.