commit 5748a3213cae3a913003c120840346f01f2441bc parent 9295f7e5a217cafe06d3f7b72d93ec035069d307 Author: ssnf <ssnf@ssnf.xyz> Date: Thu, 12 Aug 2021 00:09:37 +0000 fixed file garbage collection Diffstat:
M | file.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/file.c b/file.c @@ -7,7 +7,9 @@ void file_close(File* f) { str_close(f->s); + str_close(f->name); free(f->s); + free(f->name); } void