diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2007-07-31 09:39:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-01 00:39:43 +0200 |
commit | f2912a1223c0917a7b4e054f18086209137891ea (patch) | |
tree | bb5598f1c205244277ce352951bc9de1800d0df1 /crypto/md5.c | |
parent | Kconfig: remove top level menu "Code maturity level options" (diff) | |
download | linux-f2912a1223c0917a7b4e054f18086209137891ea.tar.xz linux-f2912a1223c0917a7b4e054f18086209137891ea.zip |
cciss: fix memory leak
There's a memory leak in the cciss driver.
in alloc_cciss_hba() we may leak sizeof(ctlr_info_t) bytes if a
call to alloc_disk(1 << NWD_SHIFT) fails.
This patch should fix the issue.
Spotted by the Coverity checker.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/md5.c')
0 files changed, 0 insertions, 0 deletions