diff options
| author | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-02-04 17:28:11 +0000 |
|---|---|---|
| committer | Matt Roper <matthew.d.roper@intel.com> | 2026-03-02 14:29:29 -0800 |
| commit | 6bc6fec71ac45f52db609af4e62bdb96b9f5fadb (patch) | |
| tree | 2314f6676526a096eef3a8a248dcd17ffa74461d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d139209ef88e48af1f6731cd45440421c757b6b5 (diff) | |
drm/xe/reg_sr: Fix leak on xa_store failure
Free the newly allocated entry when xa_store() fails to avoid a memory
leak on the error path.
v2: use goto fail_free. (Bala)
Fixes: e5283bd4dfec ("drm/xe/reg_sr: Remove register pool")
Cc: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/20260204172810.1486719-2-shuicheng.lin@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
