diff --git a/src/os_win/file.c b/src/os_win/file.c index 667ec42..a974566 100644 --- a/src/os_win/file.c +++ b/src/os_win/file.c @@ -131,6 +131,7 @@ static void _io_close() { while(_file_tracker != NULL) { FILE *stream = _file_tracker; fclose(stream); + _file_tracker = _file_tracker->next; } }