aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-04-14 09:43:05 -0400
committerShav Kinderlehrer <[email protected]>2023-04-14 09:43:05 -0400
commitfc91d8a95d86115442da0c9989385d55364ab878 (patch)
tree6af2e353f913a1b646aaa0a3d87da70bf66d3412 /src
parent03d4f4fddff6f6658496ec2b97319e4a0d0d6802 (diff)
downloadlat-fc91d8a95d86115442da0c9989385d55364ab878.tar.gz
lat-fc91d8a95d86115442da0c9989385d55364ab878.zip
Fix memory leakv0.6.2
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 7c33919..5c054a1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -63,6 +63,8 @@ void run(FILE *fp, char *filename, bool tty) {
fprintf(stderr, "\r%s%s%.2f %s%s\r\n", cnewline, invert_t, rounded, format,
uinvert_t);
}
+
+ free(f.buf);
}
void initconf(void) {