mirror of
https://github.com/PDP-10/klh10.git
synced 2026-03-08 03:39:35 +00:00
Merge pull request #38 from Rhialto/more-cleanup-34
Clear file pointer when file is closed.
This commit is contained in:
@@ -871,6 +871,7 @@ vmt_rdmount(register struct vmtape *t,
|
||||
}
|
||||
/* Oops, doesn't look like a control file. Try data. */
|
||||
fclose(cf);
|
||||
cf = NULL;
|
||||
if (cfn != ta->vmta_path)
|
||||
free(cfn);
|
||||
cfn = NULL;
|
||||
|
||||
Reference in New Issue
Block a user