TRQ-2674. Fix a valgrind issue for pbs_server.