Fixed another small bug in msr2data (non-existing run-list files led to segmentation faults)

This commit is contained in:
Bastian M. Wojek
2011-07-31 09:22:08 +00:00
parent 61fd5fa948
commit 0e14ec3e42

View File

@ -544,6 +544,9 @@ int main(int argc, char *argv[])
cerr << ">> msr2data: **ERROR** The run numbers are out of range! Quitting..." << endl;
msr2data_cleanup(msr2dataHandler, run_vec, arg);
return status;
} else if (status == -1) {
msr2data_cleanup(msr2dataHandler, run_vec, arg);
return status;
}
run_vec.clear();