aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAnton Vasilyev <[email protected]>2018-08-01 14:26:51 +0300
committerJiri Kosina <[email protected]>2018-08-02 13:27:54 +0200
commit50fa92594a2bc76265f4bb357f9a25dd3bdb2c0a (patch)
treec5a30ab184359bf83808e116c5ef975330e4c0f5 /tools/perf/scripts/python/export-to-postgresql.py
parenta1e9a9c0dfe47a3f13734be489b7953a2f8bdd83 (diff)
HID: intel_ish-hid: tx_buf memory leak on probe/remove
ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores it at &dev->wr_free_list_head.link list on ish_probe(). But there is no deallocation of this memory in ish_remove() and in ish_probe() error path. So current intel-ish-ipc provides 88 KB memory leak for each probe/release. The patch replaces kzalloc allocation by devm_kzalloc and removes ishtp_device *dev deallocation by kfree. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions