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:
ea98eed
)
edd: fix possible memory leak in edd_init() error path
author
Axel Lin
<axel.lin@gmail.com>
Tue, 10 Aug 2010 00:20:56 +0000
(17:20 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:09 +0000
(20:45 -0700)
The error may happen at any iteration of the for loop, this patch properly
unregisters already registed edd_devices in error path.
[akpm@linux-foundation.org: remove unneeded NULL test]
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/firmware/edd.c
patch
|
blob
|
history
diff --cc
drivers/firmware/edd.c
Simple merge