Mismatch in r278804.
This commit is contained in:
parent
09cc2762fa
commit
b78ceb0a58
@ -1450,7 +1450,7 @@ docompat:
|
||||
pos = ftello(st->fp);
|
||||
}
|
||||
fin:
|
||||
if (st->fp != NULL || !stayopen) {
|
||||
if (st->fp != NULL && !stayopen) {
|
||||
fclose(st->fp);
|
||||
st->fp = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user