diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-05-25 21:44:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-27 15:20:05 +0200 |
commit | fad92b11047a748c996ebd6cfb164a63814eeb2e (patch) | |
tree | d6878e40484202958049f855d3e346ad9f0e6215 /include/net/cfg80211.h | |
parent | 6ae7d0f5a92b9619f6e3c307ce56b2cefff3f0e9 (diff) | |
download | linux-fad92b11047a748c996ebd6cfb164a63814eeb2e.tar.bz2 |
tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
In the probe function, if the final 'serial_config()' fails, 'info' is
leaking.
Add a resource handling path to free this memory.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/dc25f96b7faebf42e60fe8d02963c941cf4d8124.1621971720.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/cfg80211.h')
0 files changed, 0 insertions, 0 deletions