wrt350nv2-builder: Fix memory leak

Add missing call to `free` for variable `buffer` in function
`create_bin_file`.

Signed-off-by: Andrea Dalla Costa <andrea@dallacosta.me>
master
Andrea Dalla Costa 2020-01-12 00:21:10 +01:00 committed by Jo-Philipp Wich
parent 8057970d2a
commit 3c77e4ae4d
1 changed files with 1 additions and 0 deletions

View File

@ -556,6 +556,7 @@ int create_bin_file(char *bin_filename) {
}
}
free(buffer);
return exitcode;
}