aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorXidong Wang <[email protected]>2018-04-04 10:38:24 +0100
committerChris Wilson <[email protected]>2018-04-04 20:53:51 +0100
commit6be1187dbffa0027ea379c53f7ca0c782515c610 (patch)
tree5b0c203fa516b5590030b9e3ef18fff26328dce7 /tools/perf/scripts/python/call-graph-from-sql.py
parent6308a31544284c1f60ab9a3052ee05b7877421ca (diff)
drm/i915: Do no use kfree() to free a kmem_cache_alloc() return value
Along the eb_lookup_vmas() error path, the return value from kmem_cache_alloc() was freed using kfree(). Fix it to use the proper kmem_cache_free() instead. Fixes: d1b48c1e7184 ("drm/i915: Replace execbuf vma ht with an idr") Signed-off-by: Xidong Wang <[email protected]> Cc: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: <[email protected]> # v4.14+ Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions