1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-05-01 05:48:15 +00:00

Merge pull request #34 from atsampson/master

Add missing fclose after tape format detection.
This commit is contained in:
Rhialto The M
2018-09-07 18:34:17 +02:00
committed by GitHub

View File

@@ -886,6 +886,8 @@ vmt_rdmount(register struct vmtape *t,
return FALSE; return FALSE;
} }
dfn = ta->vmta_path; dfn = ta->vmta_path;
fclose(df);
df = NULL;
} }
havefmt: havefmt:
if (vmtfmttab[fmt].tf_flags & (VMTFF_CTL | VMTFF_XCTL)) { if (vmtfmttab[fmt].tf_flags & (VMTFF_CTL | VMTFF_XCTL)) {