Skip to content

Commit

Permalink
Merge pull request #512 from ChinYikMing/fix/close-file
Browse files Browse the repository at this point in the history
Fix unmatch close function call
  • Loading branch information
jserv authored Nov 6, 2024
2 parents 57ae514 + 465a134 commit f31bc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ bool elf_open(elf_t *e, const char *input)
#if HAVE_MMAP
close(fd);
#else
close(f);
fclose(f);
#endif

free_path:
Expand Down

0 comments on commit f31bc84

Please sign in to comment.