aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2014-10-31 12:14:39 +0300
committerJiri Kosina <[email protected]>2014-11-03 14:26:50 +0100
commit3e7830ceb94cd06c05832a0d53cf324db3792418 (patch)
treef0b6d6d002e8e61ae4f351369abff9e6bf4f15c0 /tools/perf/scripts/python/export-to-postgresql.py
parent3a61e97563d78a2ca10752902449570d8433ce76 (diff)
HID: logitech-hidpp: leaks and NULL dereferences
Shift the allocation down a few lines to avoid a memory leak and also add a check for allocation failure. Fixes: 2f31c5252910 ('HID: Introduce hidpp, a module to handle Logitech hid++ devices') Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Benjamin Tissoires <[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