Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 70eee50

Browse files
committed
Fix for issue #51.
1 parent 44b1d71 commit 70eee50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/sc1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ int pc_compile(int argc, char *argv[])
844844
assert(inpfname!=NULL && inpfname!=(char*)-1);
845845
free(inpfname);
846846
assert(inpf!=NULL && inpf!=(FILE*)-1);
847-
fclose(inpf);
847+
pc_closesrc(inpf);
848848
} /* if */
849849
lexinit(TRUE); /* reset and release buffers */
850850
phopt_cleanup();

0 commit comments

Comments
 (0)