aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAjay Singh <[email protected]>2018-04-23 22:03:03 +0530
committerGreg Kroah-Hartman <[email protected]>2018-04-25 15:54:13 +0200
commitfaa6576410817b6191edb92954f679af8f3ec5eb (patch)
treea3176748d18fa7254e80bb8de7e132398684d770 /tools/perf/scripts/python/syscall-counts.py
parentc9f906810d9bc3de7733691fcd33de39d2b67801 (diff)
staging: wilc1000: refactor scan() to free kmalloc memory on failure cases
Added changes to free the allocated memory in scan() for error condition. Also added 'NULL' check validation before accessing allocated memory. Copied the SSID information in consecutive slots to avoid inbetween holes while filling into array. Signed-off-by: Ajay Singh <[email protected]> Reviewed-by: Claudiu Beznea <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions