diff options
| author | Maarten Lankhorst <[email protected]> | 2024-04-04 11:03:02 +0200 |
|---|---|---|
| committer | Maarten Lankhorst <[email protected]> | 2024-04-12 12:42:21 +0200 |
| commit | a2f3d731be3893e730417ae3190760fcaffdf549 (patch) | |
| tree | efc612cfe4f1c879ff9f2d6e2aa0a93e34e64cad /tools/perf/scripts/python/task-analyzer.py | |
| parent | 4209d635a823619038db0bf72e86a223f4186634 (diff) | |
drm/xe: Fix bo leak in intel_fb_bo_framebuffer_init
Add a unreference bo in the error path, to prevent leaking a bo ref.
Return 0 on success to clarify the success path.
Signed-off-by: Maarten Lankhorst <[email protected]>
Fixes: 44e694958b95 ("drm/xe/display: Implement display support")
Cc: <[email protected]> # v6.8+
Reviewed-by: Nirmoy Das <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions