mirror of
https://github.com/hzyitc/openwrt-redmi-ax3000.git
synced 2025-12-18 17:32:58 +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;
|
return exitcode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user