aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-05-27 02:14:17 -0400
committerB. Watson <urchlay@slackware.uk>2024-05-27 02:14:17 -0400
commitcb7d68b4f8437508cd5643898219b313b401365d (patch)
treea8f84abb08259a6851573a7d25aa05675b0b0c52
parent606854ad2882d0cdbaef9014054fe2449a2fe95b (diff)
downloadbw-atari8-tools-cb7d68b4f8437508cd5643898219b313b401365d.tar.gz
unprotbas: close varnames.txt after reading (derp).
-rw-r--r--unprotbas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unprotbas.c b/unprotbas.c
index acfd528..242ea82 100644
--- a/unprotbas.c
+++ b/unprotbas.c
@@ -550,6 +550,7 @@ void read_var_map(void) {
}
p++;
}
+ fclose(f);
if(verbose) fprintf(stderr, "Read %d variable names from " MAP_FILE "\n", count);