diff options
author | Zqiang <[email protected]> | 2020-12-10 10:01:48 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-12-28 15:45:16 +0100 |
commit | 2cc332e4ee4febcbb685e2962ad323fe4b3b750a (patch) | |
tree | 89bacf663ff7fcaff1853b7260e06710bc27078d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a5ada3dfe6a20f41f91448b9034a1ef8da3dc87d (diff) |
usb: gadget: function: printer: Fix a memory leak for interface descriptor
When printer driver is loaded, the printer_func_bind function is called, in
this function, the interface descriptor be allocated memory, if after that,
the error occurred, the interface descriptor memory need to be free.
Reviewed-by: Peter Chen <[email protected]>
Cc: <[email protected]>
Signed-off-by: Zqiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions