Files
linux/drivers
Florin Malita dcec4c3bdc 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 <fmalita@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-10-14 13:10:20 +03:00
..
2007-07-31 15:39:39 -07:00
…
2007-10-09 12:38:26 -07:00
2007-08-22 19:52:46 -07:00
…
…
…
2007-09-09 10:38:37 -04:00
2007-09-09 22:29:14 +02:00
…
…
…
2007-09-17 00:58:40 -04:00
2007-09-11 17:21:51 +02:00
2007-10-14 13:10:20 +03:00
2007-10-05 14:05:48 -04:00
…
2007-07-31 15:39:37 -07:00
2007-09-28 16:21:10 -07:00
2007-09-11 17:21:19 -07:00
…
…
…
2007-09-11 17:21:19 -07:00
…
…
2007-09-19 11:24:18 -07:00
2007-07-26 11:35:17 -07:00
…
2007-07-29 18:58:39 +00:00