summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-04-09 14:43:33 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-04-13 14:07:09 +0300
commita927e8d8ab57e696800e20cf09a72b7dfe3bbebb (patch)
tree4f8dd99daf01eed6a63eb1f6a72e40a6659788d5 /tools/perf/scripts/python/export-to-postgresql.py
parente3062e05e1cfe378bb9b3fa0bef46711372bcf13 (diff)
downloadlinux-a927e8d8ab57e696800e20cf09a72b7dfe3bbebb.tar.xz
brcmfmac: fix leak of mypkt on error return path
Currently if the call to brcmf_sdiod_set_backplane_window fails then error return path leaks mypkt. Fix this by returning by a new error path labelled 'out' that calls brcmu_pkt_buf_free_skb to free mypkt. Also remove redundant check on err before calling brcmf_sdiod_skbuff_write. Addresses-Coverity: ("Resource Leak") Fixes: a7c3aa1509e2 ("brcmfmac: Remove brcmf_sdiod_addrprep()") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions