aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChaitra P B <[email protected]>2018-04-24 05:28:42 -0400
committerMartin K. Petersen <[email protected]>2018-05-08 00:40:05 -0400
commit87b3576e9eaba85644c643bb55b485b5330a2af5 (patch)
treec0160ec97f874cd5669ae03613de1cc9962b51ac /tools/perf/scripts/python
parentc1a6c5ac4278d406c112cc2f038e6e506feadff9 (diff)
scsi: mpt3sas: fix possible memory leak.
In ioctl exit path driver refers ioc_list to free memory associated with diag buffers and event_log pointer used to save events by driver. If ctl_exit() func is called after unregistering driver, then ioc_list will be empty and hence driver will not be able to free the allocated memory which in turn causes memory leak. So call ctl_exit() function before unregistering mpt3sas driver. Signed-off-by: Chaitra P B <[email protected]> Signed-off-by: Suganath Prabu S <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions