Skip to content

Commit

Permalink
fix inverted NULL check in n64dso (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
spazzylemons authored Aug 6, 2023
1 parent 146bca9 commit ffb7f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/n64dso/n64dso.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ elf_info_t *elf_info_init(const char *filename)
void elf_info_free(elf_info_t *elf_info)
{
//Close attached file
if(!elf_info->file) {
if(elf_info->file) {
fclose(elf_info->file);
}
//Free symbol arrays
Expand Down

0 comments on commit ffb7f74

Please sign in to comment.