xml_parser_repomd: Fix memory leak