Commit 2d2bccef authored by Rob Clark's avatar Rob Clark

drm/msm: free kstrdup'd cmdline

Fixes: 18bb8a6c 'drm/msm: show task cmdline in gpu recovery messages'
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent e6756d7c
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment