summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-08-20 23:09:07 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-21 00:40:30 +0200
commitf3944d61ddc65722539ffd7b6f5b7c7217c136cc (patch)
treedd48fb10e38df546535b1b3aa576aec79937e4ac /arch/s390
parentmm: mminit_loglevel cannot be __meminitdata anymore (diff)
downloadlinux-f3944d61ddc65722539ffd7b6f5b7c7217c136cc.tar.xz
linux-f3944d61ddc65722539ffd7b6f5b7c7217c136cc.zip
nbd: fix memory leak of nbd_dev array
We leak the memory allocated for the nbd_dev array at multiple places. Fix them by either adding a kfree() or by rearranging code to return before we allocate the memory. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Cc: Paul Clements <paul.clements@steeleye.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions