summaryrefslogtreecommitdiff
path: root/tools/perf/ui/browsers/res_sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/ui/browsers/res_sample.c')
-rw-r--r--tools/perf/ui/browsers/res_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/browsers/res_sample.c b/tools/perf/ui/browsers/res_sample.c
index 76d356a18790..7cb2d6678039 100644
--- a/tools/perf/ui/browsers/res_sample.c
+++ b/tools/perf/ui/browsers/res_sample.c
@@ -56,7 +56,7 @@ int res_sample_browse(struct res_sample *res_samples, int num_res,
return -1;
}
}
- choice = ui__popup_menu(num_res, names);
+ choice = ui__popup_menu(num_res, names, NULL);
for (i = 0; i < num_res; i++)
zfree(&names[i]);
free(names);