diff options
| author | Maíra Canal <mcanal@igalia.com> | 2026-03-30 14:51:44 -0300 |
|---|---|---|
| committer | Maíra Canal <mcanal@igalia.com> | 2026-04-02 07:53:22 -0300 |
| commit | f4dfd6847b3e5d24e336bca6057485116d17aea4 (patch) | |
| tree | 0c86e6383b1bb52880bfb3c9d91494ac9013a2ed /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | aaefbdde9abdc43699e110679c0e10972a5e1c59 (diff) | |
drm/vc4: Fix memory leak of BO array in hang state
The hang state's BO array is allocated separately with kzalloc() in
vc4_save_hang_state() but never freed in vc4_free_hang_state(). Add the
missing kfree() for the BO array before freeing the hang state struct.
Fixes: 214613656b51 ("drm/vc4: Add an interface for capturing the GPU state after a hang.")
Reviewed-by: Melissa Wen <mwen@igalia.com>
Link: https://patch.msgid.link/20260330-vc4-misc-fixes-v1-2-92defc940a29@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
