diff options
author | xinhui pan <[email protected]> | 2021-02-19 12:25:47 +0800 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2021-02-25 10:18:45 +0100 |
commit | 7a8a4b0729a8807e37196e44629b31ee03f88872 (patch) | |
tree | ebaac8e4d6eb7715aa93a2a93851edb066184b46 /tools/perf/util/trace-event-scripting.c | |
parent | 583065c7aa23d4bb0c298222c1128353a2007c9c (diff) |
drm/ttm: Fix a memory leak
Free the memory on failure.
Also no need to re-alloc memory on retry.
Signed-off-by: xinhui pan <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Christian König <[email protected]>
CC: [email protected] # 5.11
Signed-off-by: Christian König <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions