Mismatch in r278804.
This commit is contained in:
parent
642d51969a
commit
aa3b216a60
@ -1450,7 +1450,7 @@ compat_group(void *retval, void *mdata, va_list ap)
|
||||
pos = ftello(st->fp);
|
||||
}
|
||||
fin:
|
||||
if (st->fp != NULL || !stayopen) {
|
||||
if (st->fp != NULL && !stayopen) {
|
||||
fclose(st->fp);
|
||||
st->fp = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user