diff options
author | quou <quou@disroot.org> | 2024-12-28 18:18:44 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-28 18:18:44 +1100 |
commit | bb5369050ed8c64e2c428454899b47ad22d278a8 (patch) | |
tree | df6478d3db3509a025b78979e700e6ae8ac2ebd4 | |
parent | 9278e969f71e7a70c68f9476513e01648cb49d86 (diff) |
fix pack_close_file
-rw-r--r-- | qstd/pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qstd/pack.c b/qstd/pack.c index e9ca0c3..3006a7d 100644 --- a/qstd/pack.c +++ b/qstd/pack.c @@ -134,6 +134,7 @@ Pack_File* pack_open_file(Pack* p, const char* name) { void pack_close_file(Pack_File* f) { fclose(f->handle); + f->handle = 0; } int pack_read(Pack_File* f, void* buf, int size) { |