diff options
author | Rusty Russell <[email protected]> | 2009-09-25 00:32:58 -0600 |
---|---|---|
committer | Rusty Russell <[email protected]> | 2009-09-25 00:32:59 +0930 |
commit | a263f7763c364015f92e7c097fa46c6673f6fcb0 (patch) | |
tree | 3fecc1a81f60ef71bc59c751f298496f9b0b1da6 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 1d7015caa082d465faeae5d6fd1be077ee6dfa87 (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 <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Cc: Catalin Marinas <[email protected]>
Tested-by: Tetsuo Handa <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions