d50f1bdfac
the initialisation and cleanup of "ex_data" elements to before an init() handler and after a finish() handler respectively.
The stuff in here is based on patches supplied to me by Steven Schoch <schoch@sheba.arc.nasa.gov> to do DSS. I have since modified a them a little but a debt of gratitude is due for doing the initial work.