Fix minor memory leak when adding a reservation with a nodelist and core
count.