summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2026-03-30 14:51:45 -0300
committerMaíra Canal <mcanal@igalia.com>2026-04-02 07:53:22 -0300
commit9525d169e5fd481538cf8c663cc5839e54f2e481 (patch)
treee9b5d2ca001161d7ac3b2463103d17f01c43b1dd /tools/perf/scripts/python/bin/stackcollapse-report
parentf4dfd6847b3e5d24e336bca6057485116d17aea4 (diff)
drm/vc4: Fix a memory leak in hang state error path
When vc4_save_hang_state() encounters an early return condition, it returns without freeing the previously allocated `kernel_state`, leaking memory. Add the missing kfree() calls by consolidating the early return paths into a single place. 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-3-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