Fix memory leak in audit log for actOnJobs(). #3563