/*
* Test that libcdecl can parse its own output.
- * Copyright © 2012, 2020 Nick Bowler
+ * Copyright © 2012, 2020, 2022-2023 Nick Bowler
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if (!test_crossparse(line, mode))
ret = EXIT_FAILURE;
}
+
+ free(line);
+ fclose(infile);
} else if (argv[optind]) {
for (int i = optind; i < argc; i++) {
if (!test_crossparse(argv[i], mode))