aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree_plugin.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-09-25 02:32:58 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-09-24 11:02:59 -0400
commita263f7763c364015f92e7c097fa46c6673f6fcb0 (patch)
tree3fecc1a81f60ef71bc59c751f298496f9b0b1da6 /kernel/rcutree_plugin.h
parent1d7015caa082d465faeae5d6fd1be077ee6dfa87 (diff)
module: fix memory leak when load fails after srcversion/version allocated
Normally the twisty paths of sysfs will free the attributes, but not if we fail before we hook it into sysfs (which is the last thing we do in load_module). (This sysfs code is a turd, no doubt there are other issues lurking too). Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Diffstat (limited to 'kernel/rcutree_plugin.h')
0 files changed, 0 insertions, 0 deletions