mirror of
https://github.com/PDP-10/klh10.git
synced 2026-02-08 17:22:03 +00:00
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