diff options
author | Sven Wegener <[email protected]> | 2008-08-20 14:09:07 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-08-20 15:40:30 -0700 |
commit | f3944d61ddc65722539ffd7b6f5b7c7217c136cc (patch) | |
tree | dd48fb10e38df546535b1b3aa576aec79937e4ac /net/lapb/lapb_subr.c | |
parent | 759f9a2df78d2156a2675edc7999fb4c919a3159 (diff) |
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 <[email protected]>
Cc: Paul Clements <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions