diff options
| author | Daniele Ceraolo Spurio <[email protected]> | 2022-03-23 17:04:39 -0700 |
|---|---|---|
| committer | Daniele Ceraolo Spurio <[email protected]> | 2022-03-25 10:07:24 -0700 |
| commit | c0c73850637c6ad6a56a6b5ee181897cb35c6c31 (patch) | |
| tree | 2de30ec756924a0b28d218bdc36f3402f377203e /tools/perf/scripts/python | |
| parent | 034d47b25b2ce627f1e1b04242d72db4180f3525 (diff) | |
drm/i915/guc: Correctly free guc capture struct on error
On error the "new" allocation is not freed, so add the required kfree.
Fixes: 247f8071d5893 ("drm/i915/guc: Pre-allocate output nodes for extraction")
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: Alan Previn <[email protected]>
Cc: John Harrison <[email protected]>
Reviewed-by: Nirmoy Das <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions