diff options
| author | 2016-09-09 16:56:38 +0100 | |
|---|---|---|
| committer | 2016-09-12 11:19:42 +0200 | |
| commit | aeaf5d86faa5d8c64674465da544c26c97e9404a (patch) | |
| tree | 3289be7e7f9b88ba56e7a201438832b52c903375 /include/linux/platform_data | |
| parent | staging: ks7010: avoid dereferencing packet if it is null (diff) | |
staging: ks7010: fix two memory leaks on error return path
On the error case where there is an invalid MAC address there is
memory leak on packet and pp on the error return. Free these first
before returning to fix the leak.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
