Re: [PATCH] net: mvpp2: fix possible memory leak

From: David Miller
Date: Sat Nov 01 2014 - 15:12:58 EST


From: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>
Date: Sat, 1 Nov 2014 16:59:34 +0530

> we are allocating memory using kzalloc for struct mvpp2_prs_entry,
> but later when we are getting error we were just returning the error
> value without releasing the memory.
>
> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/