aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-05-17 08:12:33 +0000
committerSteve French <[email protected]>2019-05-29 00:11:35 +0000
commit210782038b54ec8e9059a3c12d6f6ae173efa3a9 (patch)
treebeebedc72c2076496d78a7c80092f6bcd39db28b /tools/perf/scripts/python/event_analyzing_sample.py
parentLinux 5.2-rc2 (diff)
downloadkernel-210782038b54ec8e9059a3c12d6f6ae173efa3a9.tar.gz
kernel-210782038b54ec8e9059a3c12d6f6ae173efa3a9.zip
cifs: fix memory leak of pneg_inbuf on -EOPNOTSUPP ioctl case
Currently in the case where SMB2_ioctl returns the -EOPNOTSUPP error there is a memory leak of pneg_inbuf. Fix this by returning via the out_free_inbuf exit path that will perform the relevant kfree. Addresses-Coverity: ("Resource leak") Fixes: 969ae8e8d4ee ("cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED") CC: Stable <[email protected]> # v5.1+ Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions