Skip to content

Close fd for reading old Makefile when done, instead of leaking it

Alan Coopersmith requested to merge alanc/makedepend:cleanup into master

Found by Oracle Parfait:

Error: File Leak File Leak [file-ptr-leak]: Leaked File fdin at line 799 of main.c in function 'redirect'. fdin initialized at line 769 with fopen

Signed-off-by: Alan Coopersmith alan.coopersmith@oracle.com

Merge request reports

Loading