fixed to memory leaks for error cases in procs_requested.
Patch submitted by Craig Prescott. TRQ-2498