mirror of https://github.com/flysand7/ciabatta.git
fix infinite loop on file cleanup
This commit is contained in:
parent
601c4cc6c9
commit
9bd52d3145
|
@ -131,6 +131,7 @@ static void _io_close() {
|
||||||
while(_file_tracker != NULL) {
|
while(_file_tracker != NULL) {
|
||||||
FILE *stream = _file_tracker;
|
FILE *stream = _file_tracker;
|
||||||
fclose(stream);
|
fclose(stream);
|
||||||
|
_file_tracker = _file_tracker->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue