Thread (2 messages) 2 messages, 2 authors, 2022-12-28

Re: [PATCH V2] Grow: fix possible memory leak

From: Jes Sorensen <hidden>
Date: 2022-12-28 14:59:58

On 12/21/22 07:52, Blazej Kucman wrote:
In function Grow_addbitmap, struct mdinfo
may be allocated but is not freed
in few exit paths. Add free 'mdi' variable
in missing exit paths to avoid possible memory leak.

Signed-off-by: Blazej Kucman <redacted>
---
 Grow.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Applied!

Thanks,
Jes

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help