Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
job-list: fix potential double free of a hostlist struct
Problem: In the job-list hostlist match function, if an append to the list of hostlist structs fails, then a double free of the hostlist could occur since `goto error` already destroys the hostlist. Remove the extra hostlist_destroy() in the error path.
- Loading branch information