git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf2501
)
UBI: fix leak in ubi_scan_erase_peb
author
Florin Malita
<fmalita@gmail.com>
Thu, 19 Jul 2007 19:22:41 +0000
(15:22 -0400)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Sun, 14 Oct 2007 10:10:20 +0000
(13:10 +0300)
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 <fmalita@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
No differences found