~emersion/mrsh

b70e606cc2a2ac85f3c4040694a36a05e522359e — Simon Ser 5 months ago 7105405
parser: fix mrsh_parser.here_documents memory leak
1 files changed, 1 insertions(+), 0 deletions(-)

M parser/parser.c
M parser/parser.c => parser/parser.c +1 -0
@@ 84,6 84,7 @@ void mrsh_parser_destroy(struct mrsh_parser *parser) {
		return;
	}
	mrsh_buffer_finish(&parser->buf);
	mrsh_array_finish(&parser->here_documents);
	free(parser->error.msg);
	free(parser);
}