aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-02-02 15:11:00 +0100
committerGreg Kroah-Hartman <[email protected]>2023-02-08 13:24:22 +0100
commit209cdbd07cfaa4b7385bad4eeb47e5ec1887d33d (patch)
treee181198db965894382518cd5544697c6f93f4491 /net/unix/af_unix.c
parent1dc7e37bb0ec1c997fac82031332a38c7610352f (diff)
misc: vmw_balloon: fix memory leak with using debugfs_lookup()
When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once. Cc: Nadav Amit <[email protected]> Cc: VMware PV-Drivers Reviewers <[email protected]> Cc: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions