diff options
| author | Dan Carpenter <[email protected]> | 2017-08-10 22:23:50 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-08-10 22:54:06 +0000 |
| commit | 4e98ebe5f435fbe5bca91c24bc5d5a2b33025e08 (patch) | |
| tree | fe38f82632dd87e04472629653b639cd6c6948bf /lib/fault-inject.c | |
| parent | test_kmod: fix the lock in register_test_dev_kmod() (diff) | |
| download | kernel-4e98ebe5f435fbe5bca91c24bc5d5a2b33025e08.tar.gz kernel-4e98ebe5f435fbe5bca91c24bc5d5a2b33025e08.zip | |
test_kmod: fix small memory leak on filesystem tests
The break was in the wrong place so file system tests don't work as
intended, leaking memory at each test switch.
[[email protected]: massaged commit subject, noted memory leak issue without the fix]
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 39258f448d71 ("kmod: add test driver to stress test the module loader")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Luis R. Rodriguez <[email protected]>
Reported-by: David Binderman <[email protected]>
Cc: Colin Ian King <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Jessica Yu <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Michal Marek <[email protected]>
Cc: Miroslav Benes <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
