diff options
| author | Christian Engelmayer <[email protected]> | 2014-01-19 02:08:49 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2014-01-21 20:36:17 -0800 |
| commit | 17a05cca99d952f5b4766fa48a2703548966636a (patch) | |
| tree | 3ecdbd133cbeef9f4bc3fb0a8f1eea4f8e1defa5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5837c80e870bc3b12ac6a98cdc9ce7a9522a8fb6 (diff) | |
block: Fix memory leak in rw_copy_check_uvector() handling
Fix a memory leak in the error handling path of function sg_io()
that is used during the processing of scsi ioctl. Memory already
allocated by rw_copy_check_uvector() needs to be freed correctly.
Detected by Coverity: CID 1128953.
Signed-off-by: Christian Engelmayer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions