提交 79146a69 编写于 作者: A Ananth N Mavinakayanahalli 提交者: Arnaldo Carvalho de Melo

perf probe: Fix segfault

Fix segfault in perf probe due to a bug introduced by commit d8639f06
(perf tools: Stop using 'self' in strlist).
Signed-off-by: NAnanth N Mavinakayanahalli <ananth@in.ibm.com>
Acked-by: NSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20130312090217.GC4668@in.ibm.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 b9e8c372
......@@ -143,7 +143,7 @@ struct strlist *strlist__new(bool dupstr, const char *list)
slist->rblist.node_delete = strlist__node_delete;
slist->dupstr = dupstr;
if (slist && strlist__parse_list(slist, list) != 0)
if (list && strlist__parse_list(slist, list) != 0)
goto out_error;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册