diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-02-16 00:24:25 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-02-16 22:10:38 +0200 |
commit | 5ed88f96c137b9b68ad99f40721031feb6b26923 (patch) | |
tree | 9b983ba25e342bad7fd2e1e5af675958594206ff /tools/perf/scripts/python/export-to-postgresql.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ä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230215222426.26085-1-ville.syrjala@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions