It's possible to trigger a leak by running, say, "pmcstat -S unhalted-cycles -T" and killing the pmcstat process with SIGTERM. With this change, the memory leak is fixed and the command still works properly. Isilon's pmc tests pass with this change too.