~registry/kmod/master

Viewing all changes in revision 1297.

  • Committer: Lucas De Marchi
  • Author(s): Nicolas Schier
  • Date: 2023-04-18 22:51:12 UTC
  • Revision ID: git-v1:116e7c7fc00e8565caf913399c38852975094a75
modprobe: rmmod_do_module: Free kmod list of holders

Add a missing kmod_module_unref_list() to fix a memory leak.

Fixes: 42b32d30c38e ("modprobe: Fix holders removal")
Signed-off-by: Nicolas Schier <n.schier@avm.de>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: