hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 10e1b3c6b846612a1a5543a5721920c78144a97c
parent 6177bf0a9f88687f906a110a72c1053a3a7e1383
Author: lunacb <lunacb@disroot.org>
Date:   Sun,  5 Jan 2025 19:50:39 -0500

test: Fix memory leak

Diffstat:
Mtest/+test.ha | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/+test.ha b/test/+test.ha @@ -264,6 +264,9 @@ fn do_test(ctx: *context, test: test) void = { stdout = stdout, stderr = stderr, }); + } else { + free(stdout); + free(stderr); }; reset(ctx);