Re: [PATCH] nbd: Fix memory leak from krealloc() if another allocation fails

From: Markus Elfring
Date: Fri Apr 10 2020 - 15:09:35 EST


> syzkaller reports a memory leak when injecting allocation failures:
â
> as then config->num_connections is not incremented and the cleanup code
> freeing config->socks is skipped. Just make it run always.

How do you think about to add the tag âFixesâ for the final change description?

Regards,
Markus