Skip to content

Commit

Permalink
Fixed potential risk of wild pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
jinguang-dong committed Jan 3, 2018
1 parent 162f0b7 commit 18bf2c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/tinycap.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ int main(int argc, char **argv)
break;
default:
fprintf(stderr, "%u bits is not supported.\n", bits);
fclose(file);
return 1;
}

Expand Down

0 comments on commit 18bf2c3

Please sign in to comment.