diff options
| author | Ville Syrjälä <[email protected]> | 2023-02-16 00:24:25 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2023-02-16 22:10:38 +0200 |
| commit | 5ed88f96c137b9b68ad99f40721031feb6b26923 (patch) | |
| tree | 9b983ba25e342bad7fd2e1e5af675958594206ff /tools/perf/scripts/python/task-analyzer.py | |
| parent | 46b3c0f683d6a2128f7f2bf236bcdc62caec5c83 (diff) | |
drm/i915: Don't leak the DPT if drm_framebuffer_init() fails
We are failing to free the already allocated DPT if the final
drm_framebuffer_init() fails. That would require idr_alloc() to
fail, so not very likely, but let's add the cleanup code anyway.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Matt Roper <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions