On Thu, 2007-07-19 at 15:22 -0400, Florin Malita wrote:
> Coverity (1769) found the following problem: if the erase counter
> overflow check triggers, ec_hdr is leaked.
>
> Moving the allocation after the overflow check should take care of it.
>
> Signed-off-by: Florin Malita <[EMAIL PROTECTED]>
Coverity (1769) found the following problem: if the erase counter
overflow check triggers, ec_hdr is leaked.
Moving the allocation after the overflow check should take care of it.
Signed-off-by: Florin Malita <[EMAIL PROTECTED]>
---
drivers/mtd/ubi/scan.c |8
1 file changed, 4 ins
2 matches
Mail list logo