mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 00:45:28 +00:00
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>
This commit is contained in:
parent
8057970d2a
commit
3c77e4ae4d
@ -556,6 +556,7 @@ int create_bin_file(char *bin_filename) {
|
||||
}
|
||||
}
|
||||
|
||||
free(buffer);
|
||||
return exitcode;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user