mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
sigma_lp: Fix a fopen leak
This commit is contained in:
parent
499757acb1
commit
18ebf299c8
@ -508,6 +508,7 @@ lp_cctl = ptr;
|
||||
lp_cctp = 0;
|
||||
for (rpt = 0; rpt < lp_cctl; rpt++)
|
||||
lp_cct[rpt] = cctbuf[rpt];
|
||||
fclose (cfile);
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user