summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2020-11-13 16:25:10 +0300
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2020-11-16 13:54:47 +0300
commit77c296966e866a795742a46fc52a218771894867 (patch)
tree1d792963f462463f1ac68cd2821bdf11e49b186f /tools/perf/scripts/python/exported-sql-viewer.py
parent31b05212360cbf3af3c2e1b7f42e176e0eebedb5 (diff)
downloadlinux-77c296966e866a795742a46fc52a218771894867.tar.xz
drm/i915: Avoid memory leak with more than 16 workarounds on a list
I forgot to free the old list when growing past 16 entries. Luckily, as much as I checked, none of the current platforms has more than 16 workarounds on a single list. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Fixes: 452420d22d5b ("drm/i915: Fuse per-context workaround handling with the common framework") Reported-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20201113132510.2298483-1-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions