1
0
mirror of https://github.com/simh/simh.git synced 2026-04-26 03:57:11 +00:00

Intel-Systems: Fix prior - plug file descriptor leaks (Coverity Scan)

This commit is contained in:
Mark Pizzolato
2017-03-11 22:28:33 -08:00
parent aa0924816a
commit ba527ab24a
4 changed files with 4 additions and 4 deletions

View File

@@ -401,7 +401,7 @@ t_stat isbc202_attach (UNIT *uptr, CONST char *cptr)
fdc202[fdcnum].fdd[fddnum].buf = (uint8 *)malloc(flen);
if (fdc202[fdcnum].fdd[fddnum].buf == NULL) {
sim_printf(" isbc202_attach: Malloc error\n");
free(fp);
fclose(fp);
return SCPE_MEM;
}
}