Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • lib
  • test_kmod.c
Find file BlameHistoryPermalink
  • Dan Carpenter's avatar
    test_kmod: fix small memory leak on filesystem tests · 4e98ebe5
    Dan Carpenter authored Aug 10, 2017
    The break was in the wrong place so file system tests don't work as
    intended, leaking memory at each test switch.
    
    [mcgrof@kernel.org: massaged commit subject, noted memory leak issue without the fix]
    Link: http://lkml.kernel.org/r/20170802211450.27928-6-mcgrof@kernel.org
    
    
    Fixes: 39258f448d71 ("kmod: add test driver to stress test the module loader")
    Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
    Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@kernel.org>
    Reported-by: default avatarDavid Binderman <dcb314@hotmail.com>
    Cc: Colin Ian King <colin.king@canonical.com>
    Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Cc: Eric W. Biederman <ebiederm@xmission.com>
    Cc: Jessica Yu <jeyu@redhat.com>
    Cc: Josh Poimboeuf <jpoimboe@redhat.com>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Michal Marek <mmarek@suse.com>
    Cc: Miroslav Benes <mbenes@suse.cz>
    Cc: Petr Mladek <pmladek@suse.com>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Shuah Khan <shuah@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    4e98ebe5
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7