diff --git a/cpumf/pai.c b/cpumf/pai.c index f872d5a5..8e020f84 100644 --- a/cpumf/pai.c +++ b/cpumf/pai.c @@ -735,8 +735,8 @@ static int add_events(int type) } if (rc) { - free(pmuname); warnx("failed building event list for %s", pmuname); + free(pmuname); } return rc; }