Re: [PATCH] net: mvpp2: Fix a memory leak in error handling path

From: David Miller
Date: Mon Feb 20 2017 - 10:34:21 EST


From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Sun, 19 Feb 2017 10:19:57 +0100

> if 'devm_kzalloc()' fails, we should release resources allocated so far,
> just as done a few lines below.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Applied.