diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-03-21 22:42:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-22 22:27:36 -0400 |
commit | f54e994c2900ac5f0d4e12faf430d96e29f389c2 (patch) | |
tree | eac3f04d3c8228432474a256a2e6e7f20a871894 /virt | |
parent | staging: fsl-mc: fix incorrect type passed to dev_err macros (diff) | |
download | linux-dev-f54e994c2900ac5f0d4e12faf430d96e29f389c2.tar.xz linux-dev-f54e994c2900ac5f0d4e12faf430d96e29f389c2.zip |
staging: wilc1000: fix a couple of memory leaks
The ENOMEM error return paths are not free'ing allocated memory
resulting in a memory leak of allocated structures. Perform the
required kfree to fix the memory leaks.
Issue discovered with static analysis using CoverityScan
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions