diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2016-11-14 17:44:49 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-16 10:57:26 +0100 |
commit | af6f9d6883ac95d14271b4613e5813f2938dd4d4 (patch) | |
tree | dde2f4c703fb6ff164c97831b75d82a69f844235 /scripts/recordmcount.h | |
parent | fbb7d2e3a9cc07dd56a9c4d337352b3b1cb34c89 (diff) | |
download | linux-af6f9d6883ac95d14271b4613e5813f2938dd4d4.tar.gz |
serial: sunsu: Free memory when probe fails
When su_probe() fails it doesn't free *up and we may have a memory
leak. Fix this by freeing *up before return.
Signed-off-by: Souptick joarder <jrdr.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions