mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
drm/msm: free kstrdup'd cmdline
Fixes: 18bb8a6
'drm/msm: show task cmdline in gpu recovery messages'
Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
e6756d7c1a
commit
2d2bccef71
1 changed files with 2 additions and 0 deletions
|
@ -294,6 +294,8 @@ static void recover_worker(struct work_struct *work)
|
|||
|
||||
msm_rd_dump_submit(priv->hangrd, submit,
|
||||
"offending task: %s (%s)", task->comm, cmd);
|
||||
|
||||
kfree(cmd);
|
||||
} else {
|
||||
msm_rd_dump_submit(priv->hangrd, submit, NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue