答复: [PATCH] scripts: fix memleak error in read_file

2019-10-22 Thread linfeilong
On Tue, 22 Oct 2019 11:47:59 + linfeilong wrote: > >> An error is found by the static code analysis tool: "memleak" >> Fix this by add free before return. >> >> Signed-off-by: Feilong Lin >> --- >> scripts/insert-sys-cert.c | 1 + >&

[PATCH] scripts: fix memleak error in read_file

2019-10-22 Thread linfeilong
An error is found by the static code analysis tool: "memleak" Fix this by add free before return. Signed-off-by: Feilong Lin --- scripts/insert-sys-cert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/insert-sys-cert.c b/scripts/insert-sys-cert.c index 8902836..22d99a8 100644 --- a