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:
f3b8436
)
IB/ipath: Fix memory leak in init_shadow_tids() error path
author
Roland Dreier
<rolandd@cisco.com>
Mon, 23 Feb 2009 04:04:34 +0000
(20:04 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Mon, 23 Feb 2009 04:04:34 +0000
(20:04 -0800)
If the second vmalloc() fails, the wrong pointer is pased to vfree(), so
the first vmalloc() ends up getting leaked.
This was spotted by the Coverity checker (CID 2709).
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found