Skip to content

Commit

Permalink
utils/lpcchksum: Fix memory leak
Browse files Browse the repository at this point in the history
Signed-off-by: Francois Berder <fberder@outlook.fr>
  • Loading branch information
francois-berder committed Jan 18, 2019
1 parent 3debd52 commit e49edf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/lpcchksum.c
Expand Up @@ -55,6 +55,7 @@ int main(int argc, char **argv) {

if((bin=fopen(argv[1], "wb"))==NULL) {
perror("could not open output file");
free(buffer);
return 1;
}

Expand Down

0 comments on commit e49edf5

Please sign in to comment.