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