aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2017-07-20 00:35:03 +0200
committerDaniel Vetter <[email protected]>2017-07-27 22:07:16 +0200
commit3d91142528db7d4ea34e3233c261acc48c164b9a (patch)
tree5f3eb6e2dbc8a4ae266c87bca49388b986d0c55b /tools/perf/util/trace-event-scripting.c
parent4706ca779a723913469a47bbdd63ede01681f0c4 (diff)
drm/i915/selftests: Fix an error handling path in 'mock_gem_device()'
Goto the right label in case of error, otherwise there is a leak. This has been introduced by c5cf9a9147ff. In this patch a goto has not been updated. Fixes: c5cf9a9147ff ("drm/i915: Create a kmem_cache to allocate struct i915_priolist from") Signed-off-by: Christophe JAILLET <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Chris Wilson <[email protected]> (cherry picked from commit a5ec7fe81a6ec38cb8b8a798d0552cbcadce7aa9) Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions