diff options
author | Dan Carpenter <[email protected]> | 2020-12-03 11:42:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-12-04 16:48:07 +0100 |
commit | cf5fbe02042e52a5a3d93223770db39002b313c6 (patch) | |
tree | 27ec13722ffc2b2b8c905fd79a7b6b8849210793 /scripts/gdb/linux/config.py | |
parent | ebad43260d225bccd57c7144a6eecbef3cd88f7f (diff) |
USB: apple-mfi-fastcharge: Fix use after free in probe
This code frees "mfi" and then derefences it on the next line to get
the error code.
Fixes: b0eec52fbe63 ("USB: apple-mfi-fastcharge: Fix kfree after failed kzalloc")
Reviewed-by: Bastien Nocera <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/X8ik4j8yJitVUyfU@mwanda
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions