uboot-oxnas: fix memory leak in tool mkox820crc
authorAndrea Dalla Costa <andrea@dallacosta.me>
Sat, 28 Dec 2019 16:43:40 +0000 (17:43 +0100)
committerJohn Crispin <john@phrozen.org>
Wed, 15 Jan 2020 22:15:19 +0000 (23:15 +0100)
commit5adca1cf2abc0c320be082522ab1ec747c7157b7
tree67821e879d965745e55d96c420d4026c22fecd4c
parentbbab32b2e33dad65c0102d47e0263872ac857e32
uboot-oxnas: fix memory leak in tool mkox820crc

In function `main` add calls to `free` for the variable `executable`.
This is needed because the variable `executable` is allocated but
never freed. This cause a memory leak.

Signed-off-by: Andrea Dalla Costa <andrea@dallacosta.me>
package/boot/uboot-oxnas/src/tools/mkox820crc.c