Re: [PATCH] tools: proftool: Fix potential memory leaks

2025-02-11 Thread Tom Rini
On Wed, 05 Feb 2025 19:26:07 +0300, Maks Mishin wrote: > Dynamic memory, referenced by 'line', is allocated by calling > function 'calloc' and lost when the function terminates with code -1. > > Applied to u-boot/next, thanks! -- Tom

[PATCH] tools: proftool: Fix potential memory leaks

2025-02-05 Thread Maks Mishin
Dynamic memory, referenced by 'line', is allocated by calling function 'calloc' and lost when the function terminates with code -1. Signed-off-by: Maks Mishin --- tools/proftool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/proftool.c b/tools/proftool.c index af2cdb6d58..c7b427