pgrep: Minor memleak while parsing cmdline option 'F'
In pgrep.c (master) in parse_opts there is a memleak when multiple 'F' cmdline options are given:
case 'F': /* FreeBSD: the arg is a file containing a PID to match */
opt_pidfile = xstrdup (optarg);
++criteria_count;
break;
Edited by Roman Žilka