aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-01-25 11:47:12 +0300
committerRodrigo Vivi <[email protected]>2021-02-08 16:56:45 -0500
commit54fd4b9a4ac8b771cf345ca4dc3f47045a27fdc1 (patch)
tree95b64c2c3756ef0e6979a9f891bab84eafc80bd8 /tools/perf/util/trace-event-scripting.c
parentfbb2bdd22a994d415691c132ecaddcf99a2786e7 (diff)
drm/i915/gem: Fix oops in error handling code
This code will Oops when it tries to i915_gem_object_free(obj) because "obj" is an error pointer. Fixes: 97d553963250 ("drm/i915/region: convert object_create into object_init") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/YA6FkPn5S4ZDUGxq@mwanda (cherry picked from commit ad8db423a30f0ac39a5483dfd726058135ff2bd2) Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions