diff options
author | 2015-06-03 12:09:12 +0100 | |
---|---|---|
committer | 2015-06-05 11:00:49 +1000 | |
commit | fe2af53baec1b3b64ee343d4e7e6a351e52e3b48 (patch) | |
tree | 66242c3026421d0b535440d8be0b9ef98a6d734c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/qxl: Fix print statement not using uninitialized variable (diff) | |
download | wireguard-linux-fe2af53baec1b3b64ee343d4e7e6a351e52e3b48.tar.xz wireguard-linux-fe2af53baec1b3b64ee343d4e7e6a351e52e3b48.zip |
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 <fziglio@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions