~sircmpwn/hare-xml

1e4db08b0ccc1168b9c552467f933be3fc6b24f7 — Sebastian 3 months ago 2214874
io::close can error

Signed-off-by: Sebastian <sebastian@sebsite.pw>
1 files changed, 3 insertions(+), 3 deletions(-)

M format/xml/parser.ha
M format/xml/parser.ha => format/xml/parser.ha +3 -3
@@ 58,9 58,9 @@ export fn parser_free(par: *parser) void = {
	if (par.close) {
		free(par.in);
	};
	io::close(&par.namebuf);
	io::close(&par.entbuf);
	io::close(&par.textbuf);
	io::close(&par.namebuf)!;
	io::close(&par.entbuf)!;
	io::close(&par.textbuf)!;
	for (let i = 0z; i < len(par.tags); i += 1) {
		free(par.tags[i]);
	};