diff options
| author | Florin Malita <[email protected]> | 2007-07-19 15:22:41 -0400 |
|---|---|---|
| committer | Artem Bityutskiy <[email protected]> | 2007-10-14 13:10:20 +0300 |
| commit | dcec4c3bdc4d5f4bd2d858ee1ce11e3424cbaed7 (patch) | |
| tree | 350dc84ecd5069e2cc69595482c0fb1ce72ab1e8 /scripts/patch-kernel | |
| parent | bbf25010f1a6b761914430f5fca081ec8c7accd1 (diff) | |
UBI: fix leak in ubi_scan_erase_peb
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]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions