Commit 79146a69 authored by Ananth N Mavinakayanahalli's avatar Ananth N Mavinakayanahalli Committed by 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: default avatarAnanth N Mavinakayanahalli <>
Acked-by: default avatarSrikar Dronamraju <>
Cc: Srikar Dronamraju <>
Link: default avatarArnaldo Carvalho de Melo <>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment