diff options
author | Rafael Mendonca <[email protected]> | 2022-09-21 15:34:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-22 15:52:29 +0200 |
commit | d591b32e519603524a35b172156db71df9116902 (patch) | |
tree | 8d45fcc16ea1de5cb6a34093f272a9f3b9dd2f60 /scripts/gdb/linux/proc.py | |
parent | 7e271f42a5cc3768cd2622b929ba66859ae21f97 (diff) |
xhci: dbc: Fix memory leak in xhci_alloc_dbc()
If DbC is already in use, then the allocated memory for the xhci_dbc struct
doesn't get freed before returning NULL, which leads to a memleak.
Fixes: 534675942e90 ("xhci: dbc: refactor xhci_dbc_init()")
Cc: [email protected]
Signed-off-by: Rafael Mendonca <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions