On Fri, Sep 30, 2016 at 2:13 PM, Johannes Thumshirn <jthumsh...@suse.de> wrote:

> We're directly assigning krealoc()'s return value to pctrl->functions instead
> of using a temporary value to handle error checking. This leaks memory in case
> krealloc() failes. While we're at it, implement error handling for failed
> allocations at all.
>
> Signed-off-by: Johannes Thumshirn <jthumsh...@suse.de>

Patch applied.

Yours,
Linus Walleij

Reply via email to