aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorxinhui pan <[email protected]>2021-03-17 17:33:02 +0800
committerAlex Deucher <[email protected]>2021-03-23 23:37:13 -0400
commit79fcd446e7e182c52c2c808c76f8de3eb6714349 (patch)
treef18b4346a03c3bde612dd30a1f6cdb177712a588 /tools/perf/util/trace-event-scripting.c
parent0303e1b77c4db2fd11e9005836f1baaa0ffacb7b (diff)
drm/amdgpu: Fix memory leak
drm_gem_object_put() should be paired with drm_gem_object_lookup(). All gem objs are saved in fb->base.obj[]. Need put the old first before assign a new obj. Trigger VRAM leak by running command below $ service gdm restart Signed-off-by: xinhui pan <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions