Commit 4a012f14 authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov
parent f5b67f51
......@@ -1539,7 +1539,7 @@ int parse_task_cgroup(int pid, struct list_head *retl, unsigned int *n)
ncc->name = xstrdup(name);
ncc->path = xstrdup(path);
if (!ncc->name || !ncc->name) {
if (!ncc->name || !ncc->path) {
xfree(ncc->name);
xfree(ncc->path);
xfree(ncc);
......
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