summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-08 11:48:19 -0500
committerpommicket <pommicket@gmail.com>2023-01-08 11:48:19 -0500
commit34212b559d7bb0eb0d4e7797ba3e9b1a718cedac (patch)
treec0d51adcde6c93adc340ae1b9a6cc4fd721c49cc /build.c
parent21c2b2244e4abddd70b9e1ee298dfe4b7a6d6d2d (diff)
fix memory leaks
Diffstat (limited to 'build.c')
-rw-r--r--build.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.c b/build.c
index 93b6643..0adf0af 100644
--- a/build.c
+++ b/build.c
@@ -233,6 +233,7 @@ void build_check_for_errors(Ted *ted) {
.build_output_line = line_idx
};
arr_add(ted->build_errors, error);
+ free(filename);
}
}
}