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
|
@ -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…
Reference in New Issue