Mismatch in r278804.

This commit is contained in:
pfg 2015-02-15 18:02:05 +00:00
parent 642d51969a
commit aa3b216a60

View File

@ -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;
}