Re: [PATCH] [media] mn88472: Fix possible leak in mn88472_init()

2015-05-02 Thread Benjamin Larsson
On 05/02/2015 11:59 PM, Christian Engelmayer wrote: Commit 307e95c92257 ("[media] mn88472: implement firmware parity check") introduced the usage of exit paths that do not free the already allocated firmware data in case the parity handling fails. Go through the correct exit paths. Detected by Co

[PATCH] [media] mn88472: Fix possible leak in mn88472_init()

2015-05-02 Thread Christian Engelmayer
Commit 307e95c92257 ("[media] mn88472: implement firmware parity check") introduced the usage of exit paths that do not free the already allocated firmware data in case the parity handling fails. Go through the correct exit paths. Detected by Coverity CID 1295989. Signed-off-by: Christian Engelmay