diff options
author | Frediano Ziglio <[email protected]> | 2015-06-03 12:09:12 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-06-05 11:00:49 +1000 |
commit | fe2af53baec1b3b64ee343d4e7e6a351e52e3b48 (patch) | |
tree | 66242c3026421d0b535440d8be0b9ef98a6d734c /tools/perf/scripts/python/syscall-counts.py | |
parent | 55cc3df08a2c6a9c9c20b34ba26de0512a750b5e (diff) |
drm/qxl: Avoid double free on error
Is we are not able to get source bo object from handle we free
destination bo object and call cleanup code however destination
object was already inserted in reloc_info array (num_relocs was
already incremented) so on cleanup we free destination again.
Signed-off-by: Frediano Ziglio <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions