Permalink
Browse files

utils/lpcchksum: Fix memory leak

Signed-off-by: Francois Berder <fberder@outlook.fr>
  • Loading branch information...
francois-berder committed Jan 18, 2019
1 parent 3debd52 commit e49edf5cae700fe9b89aa2819ac0c0f4f9311ce6
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/utils/lpcchksum.c
@@ -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;
}

0 comments on commit e49edf5

Please sign in to comment.