diff options
author | 2017-08-08 23:05:59 +0800 | |
---|---|---|
committer | 2017-08-18 15:57:17 -0700 | |
commit | b5956dd26f848086af7413d8d089b4ab41ab341d (patch) | |
tree | 7163fdc3600998d21fd7ed24271dd3039227bff0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: octeon: fix line over 80 characters (diff) | |
download | wireguard-linux-b5956dd26f848086af7413d8d089b4ab41ab341d.tar.xz wireguard-linux-b5956dd26f848086af7413d8d089b4ab41ab341d.zip |
drivers/staging/wlan-ng/p80211conv.c: fixed a potential memory leak
Fixed a potential memory leak inside skb_ether_to_p80211()
When the wep_encrypt() fails the code return 2 directly
Which causes the p80211_wep->data dangling
Add a kfree statement to reclaim that memory allocated
Signed-off-by: Lynn Lei <lynnl.yet@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions