mirror of https://github.com/flysand7/ciabatta.git
Fix files not being removed from the pool upon closing
This commit is contained in:
parent
d9f530fe58
commit
344d9f0398
|
@ -80,5 +80,6 @@ int fclose(FILE *file) {
|
||||||
if(status != _RT_STATUS_OK) {
|
if(status != _RT_STATUS_OK) {
|
||||||
return EOF;
|
return EOF;
|
||||||
}
|
}
|
||||||
|
cia_pool_free(&_file_pool, file);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue